diff options
author | jlam <jlam@pkgsrc.org> | 2001-08-20 04:02:15 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-08-20 04:02:15 +0000 |
commit | c0b680d2061ceffe064561026bf198ac98d26775 (patch) | |
tree | fbb440aa911149722a23d2a4e31159c35615b978 | |
parent | 5d4d1966ee34c0e0e7e863e7dc82a55eb88211d9 (diff) | |
download | pkgsrc-c0b680d2061ceffe064561026bf198ac98d26775.tar.gz |
* Don't depend on libgetopt as psiconv supplies it own getopt_long()
implementation if it's not found in the base system.
* Use shell "for" loop instead of a make ".for" loop.
* Mark as USE_BUILDLINK_ONLY.
-rw-r--r-- | converters/psiconv/Makefile | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/converters/psiconv/Makefile b/converters/psiconv/Makefile index c2733810eb2..13f618e9de3 100644 --- a/converters/psiconv/Makefile +++ b/converters/psiconv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2001/07/09 06:25:31 sakamoto Exp $ +# $NetBSD: Makefile,v 1.12 2001/08/20 04:02:15 jlam Exp $ # DISTNAME= psiconv-0.6.1 @@ -9,23 +9,20 @@ MAINTAINER= sakamoto@netbsd.org HOMEPAGE= http://huizen.dds.nl/~frodol/psiconv/ COMMENT= PSION 5 file format data conversion utilities -.if !exists(/usr/include/getopt.h) -DEPENDS+= libgetopt-[0-9]*:../../devel/libgetopt -LIBS= -lgetopt -.endif +USE_BUILDLINK_ONLY= YES +USE_X11= YES +USE_LIBTOOL= YES +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +GNU_CONFIGURE= YES +CPPFLAGS+= -DIMAGEMAGICK -.include "../../graphics/ImageMagick/buildlink.mk" - -USE_X11= YES -USE_LIBTOOL= YES -LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig -GNU_CONFIGURE= YES -CPPFLAGS+= -DIMAGEMAGICK +DOCDIR= ${PREFIX}/share/doc/psiconv post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/psiconv -.for file in ascii html html4 - ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${PREFIX}/share/doc/psiconv -.endfor + ${INSTALL_DATA_DIR} ${DOCDIR} + cd ${WRKSRC}/docs; for file in ascii html html4; do \ + ${INSTALL_DATA} $${file} ${DOCDIR}; \ + done +.include "../../graphics/ImageMagick/buildlink.mk" .include "../../mk/bsd.pkg.mk" |