summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorsakamoto <sakamoto>2001-07-09 06:25:31 +0000
committersakamoto <sakamoto>2001-07-09 06:25:31 +0000
commit892d40e66958ac25cadc49194ffebb2bca701cd2 (patch)
treeba5164996e18308c1acddaa090cecf0c5159ae0e /converters
parent25961f6f1a0956a870186bc2d320ac963a232d64 (diff)
downloadpkgsrc-892d40e66958ac25cadc49194ffebb2bca701cd2.tar.gz
Use ImageMagick's buildlink.mk.
Diffstat (limited to 'converters')
-rw-r--r--converters/psiconv/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/converters/psiconv/Makefile b/converters/psiconv/Makefile
index 8ac6f2ff0ef..c2733810eb2 100644
--- a/converters/psiconv/Makefile
+++ b/converters/psiconv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/06/12 20:33:02 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2001/07/09 06:25:31 sakamoto Exp $
#
DISTNAME= psiconv-0.6.1
@@ -13,16 +13,14 @@ COMMENT= PSION 5 file format data conversion utilities
DEPENDS+= libgetopt-[0-9]*:../../devel/libgetopt
LIBS= -lgetopt
.endif
-DEPENDS+= ImageMagick>=5.2.2:../../graphics/ImageMagick
-MAGICK_CONFIG= ${LOCALBASE}/bin/Magick-config
+.include "../../graphics/ImageMagick/buildlink.mk"
USE_X11= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig
GNU_CONFIGURE= YES
-CPPFLAGS+= `${MAGICK_CONFIG} --cppflags` -DIMAGEMAGICK
-LIBS+= `${MAGICK_CONFIG} --libs`
+CPPFLAGS+= -DIMAGEMAGICK
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/psiconv