summaryrefslogtreecommitdiff
path: root/converters/psiconv/Makefile
diff options
context:
space:
mode:
authorsakamoto <sakamoto>1999-12-06 01:58:06 +0000
committersakamoto <sakamoto>1999-12-06 01:58:06 +0000
commite07e60116c7d9c2bf49c948f253308a98230cd39 (patch)
tree0a9b9959f6208654a031bb27369cc66c835d374a /converters/psiconv/Makefile
parent1a9cb63d1992e25eaafd3d903660c82a20a50fb8 (diff)
downloadpkgsrc-e07e60116c7d9c2bf49c948f253308a98230cd39.tar.gz
Initial import of psiconv-0.6.1.
PSION 5 file format data conversion utilities
Diffstat (limited to 'converters/psiconv/Makefile')
-rw-r--r--converters/psiconv/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/converters/psiconv/Makefile b/converters/psiconv/Makefile
new file mode 100644
index 00000000000..a0a81246bcd
--- /dev/null
+++ b/converters/psiconv/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/12/06 01:58:06 sakamoto Exp $
+#
+
+DISTNAME= psiconv-0.6.1
+CATEGORIES= converters
+MASTER_SITES= http://huizen.dds.nl/~frodol/psiconv/
+
+MAINTAINER= sakamoto@netbsd.org
+HOMEPAGE= http://huizen.dds.nl/~frodol/psiconv/
+
+DEPENDS+= libgetopt-*:../../devel/libgetopt
+DEPENDS+= ImageMagick-*:../../graphics/ImageMagick
+
+MAGICK_CONFIG= ${LOCALBASE}/bin/Magick-config
+
+USE_X11= YES
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ENV+= CPPFLAGS="`${MAGICK_CONFIG} --cppflags` -DIMAGEMAGICK" \
+ LIBS="-lgetopt `${MAGICK_CONFIG} --libs`"
+
+post-configure:
+ @${RM} -f ${WRKSRC}/libtool
+ @${LN} -s ${LIBTOOL} ${WRKSRC}/libtool
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/psiconv
+.for file in ascii html html4
+ ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${PREFIX}/share/doc/psiconv
+.endfor
+
+.include "../../mk/bsd.pkg.mk"