summaryrefslogtreecommitdiff
path: root/graphics/tifmerge/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/tifmerge/Makefile')
-rw-r--r--graphics/tifmerge/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/graphics/tifmerge/Makefile b/graphics/tifmerge/Makefile
new file mode 100644
index 000000000000..64ba9231b15d
--- /dev/null
+++ b/graphics/tifmerge/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: tifmerge
+# Version required: 1.0
+# Date created: 29 April 1999
+# Whom: G. Adam Stanislav <adam@whizkidtech.net>
+#
+# $Id$
+#
+
+DISTNAME= tiff
+PKGNAME= tifmerge-1.0
+CATEGORIES= graphics
+MASTER_SITES= http://www.whizkidtech.net/fports/
+
+MAINTAINER= adam@whizkidtech.net
+
+BUILD_DEPENDS= tuc:${PORTSDIR}/textproc/tuc
+
+USE_ZIP= yes
+DIST_SUBDIR= tifmerge
+MAN3= tifmerge.3
+
+post-extract:
+ @mkdir -p ${WRKSRC}
+ @tuc ${WRKDIR}/TIFMERGE.H ${WRKSRC}/tifmerge.h
+ @tuc ${WRKDIR}/TIFMERGE.C ${WRKSRC}/tifmerge.c
+ @${CP} ${FILESDIR}/Makefile ${WRKSRC}
+ @${CP} ${FILESDIR}/tifmerge.3 ${WRKSRC}
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/libtifmerge.so.1 ${PREFIX}/lib
+ ln -fs ${PREFIX}/lib/libtifmerge.so.1 ${PREFIX}/lib/libtifmerge.so
+ ${INSTALL_DATA} ${WRKSRC}/libtifmerge.a ${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/tifmerge.h ${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/tifmerge.3 ${PREFIX}/man/man3
+
+post-install:
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>