summaryrefslogtreecommitdiff
path: root/devel/gnome-js-common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gnome-js-common/Makefile')
-rw-r--r--devel/gnome-js-common/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/devel/gnome-js-common/Makefile b/devel/gnome-js-common/Makefile
new file mode 100644
index 000000000000..ab20f1719349
--- /dev/null
+++ b/devel/gnome-js-common/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: gnome-js-common
+# Date created: 19 July 2009
+# Whom: Alexander Logvinov <avl@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/devel/gnome-js-common/Makefile,v 1.1 2009/07/30 02:40:56 avl Exp $
+#
+
+PORTNAME= gnome-js-common
+PORTVERSION= 0.1.1
+CATEGORIES= devel gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= GNOME JavaScript common modules and tests
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_GNOME= gnomehack intltool
+
+PORTDOCS= AUTHORS COPYING INSTALL NEWS README ChangeLog
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|== x|= x|g' \
+ ${WRKSRC}/configure
+.if !defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e 's|$${prefix}/doc/gnome_js_common|$${datarootdir}/doc/${PORTNAME}|' \
+ ${WRKSRC}/Makefile.in
+.else
+ @${REINPLACE_CMD} -e 's|install-gnome_js_commondocDATA ||g' ${WRKSRC}/Makefile.in
+.endif
+
+.include <bsd.port.mk>