summaryrefslogtreecommitdiffstats
path: root/multimedia/cheese/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-07 02:39:16 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-02-07 02:39:16 +0800
commitee59f520e97e27510aca2f1d550b8f2659060365 (patch)
treeab0c84fa4c00e3717aaf2e944dbee4a7a9cef343 /multimedia/cheese/Makefile
parent18d9db64dd26ede030ac4d57c6ab53f6ba332c09 (diff)
downloadmarcuscom-ports-ee59f520e97e27510aca2f1d550b8f2659060365.tar
marcuscom-ports-ee59f520e97e27510aca2f1d550b8f2659060365.tar.gz
marcuscom-ports-ee59f520e97e27510aca2f1d550b8f2659060365.tar.bz2
marcuscom-ports-ee59f520e97e27510aca2f1d550b8f2659060365.tar.lz
marcuscom-ports-ee59f520e97e27510aca2f1d550b8f2659060365.tar.xz
marcuscom-ports-ee59f520e97e27510aca2f1d550b8f2659060365.tar.zst
marcuscom-ports-ee59f520e97e27510aca2f1d550b8f2659060365.zip
Re-add it, our HAL now supports webcam stuff. Update to 2.21.90.1, I do
realized that there has 2.21.91 but the installation is broke. The garnome has backed out 2.21.91 -> 2.21.90.1 too. Slap two patches in post-patch for lib/cheese/*.sh -> libexec/cheese/*.sh. Webcam owners, please test and let us know if it works. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10364 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/cheese/Makefile')
-rw-r--r--multimedia/cheese/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/multimedia/cheese/Makefile b/multimedia/cheese/Makefile
new file mode 100644
index 000000000..ef91b5397
--- /dev/null
+++ b/multimedia/cheese/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: cheese
+# Date created: 13 January 2008
+# Whom: FreeBSD GNOME Team <gnome@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= cheese
+PORTVERSION= 2.21.90.1
+CATEGORIES= multimedia gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A Photobooth-inspired app for taking pictures and videos from webcam
+
+USE_XORG= xxf86vm
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomeprefix gnometarget intlhack evolutiondataserver \
+ librsvg2
+USE_GETTEXT= yes
+USE_GSTREAMER= good
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+DOCS= AUTHORS COPYING ChangeLog NEWS README
+GCONF_SCHEMAS= cheese.schemas
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|[$$]GMSGFMT[$$]|$$MSGFMT$$|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|[(]libdir[)]/cheese|(libexecdir)/cheese|g' \
+ ${WRKSRC}/data/Makefile.in
+ @${REINPLACE_CMD} -e 's|/usr/local/lib|${PREFIX}/libexec|g' \
+ ${WRKSRC}/data/cheese.desktop.in
+
+.ifndef (NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+.for i in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>