1 # $NetBSD: Makefile,v 1.2 2000/05/01 14:22:04 hubertf Exp $
4 DISTNAME= psiconv-0.6.1
6 MASTER_SITES= http://huizen.dds.nl/~frodol/psiconv/
8 MAINTAINER= sakamoto@netbsd.org
9 HOMEPAGE= http://huizen.dds.nl/~frodol/psiconv/
11 .if !exists(/usr/include/getopt.h)
12 DEPENDS+= libgetopt-[0-9]*:../../devel/libgetopt
15 DEPENDS+= ImageMagick-*:../../graphics/ImageMagick
17 MAGICK_CONFIG= ${LOCALBASE}/bin/Magick-config
22 CONFIGURE_ENV+= CPPFLAGS="`${MAGICK_CONFIG} --cppflags` -DIMAGEMAGICK" \
23 LIBS="${LIBS} `${MAGICK_CONFIG} --libs`"
26 @${RM} -f ${WRKSRC}/libtool
27 @${LN} -s ${LIBTOOL} ${WRKSRC}/libtool
30 ${MKDIR} ${PREFIX}/share/doc/psiconv
31 .for file in ascii html html4
32 ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${PREFIX}/share/doc/psiconv
35 .include "../../mk/bsd.pkg.mk"