aboutsummaryrefslogtreecommitdiff
path: root/graphics/gridpix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gridpix/Makefile')
-rw-r--r--graphics/gridpix/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/graphics/gridpix/Makefile b/graphics/gridpix/Makefile
new file mode 100644
index 000000000000..d14d7763dbb5
--- /dev/null
+++ b/graphics/gridpix/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: gridpix
+# Version required: 2.0
+# Date created: 19 July 1999
+# Whom: asami
+#
+# $Id$
+#
+
+DISTNAME= GridPix-2.0
+PKGNAME= gridpix-2.0
+CATEGORIES= graphics
+MASTER_SITES= ftp://stampede.cs.berkeley.edu/pub/GridPix/
+
+MAINTAINER= asami@FreeBSD.org
+
+BUILD_DEPENDS= ${X11BASE}/lib/libpnm.a:${PORTSDIR}/graphics/netpbm
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
+
+# create necessary directories -- don't want to depend on an http
+# server port since we don't know which one the user wants
+pre-install:
+ ${MKDIR} ${PREFIX}/www/cgi-bin ${PREFIX}/www/data/gridpix/docs
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/gridpix
+ ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/gridpix
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gridpix
+ @${ECHO} "================================"
+ @${CAT} ${PKGDIR}/MESSAGE
+ @${ECHO} "================================"
+
+.include <bsd.port.mk>