aboutsummaryrefslogtreecommitdiff
path: root/textproc/xmlppm
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-17 09:36:51 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-17 09:36:51 +0000
commit23fcc9d1abd8efd5c647d6c80289c8edf4154d71 (patch)
tree5e081f93cc40fdbc271b6fe8b5a0af7c09fe5d06 /textproc/xmlppm
parent8bf2d5dd9bc883d2658d66074696a628500ea0ef (diff)
downloadports-23fcc9d1abd8efd5c647d6c80289c8edf4154d71.tar.gz
ports-23fcc9d1abd8efd5c647d6c80289c8edf4154d71.zip
Notes
Diffstat (limited to 'textproc/xmlppm')
-rw-r--r--textproc/xmlppm/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/textproc/xmlppm/Makefile b/textproc/xmlppm/Makefile
index ca1213865155..20c780ce1c7c 100644
--- a/textproc/xmlppm/Makefile
+++ b/textproc/xmlppm/Makefile
@@ -7,32 +7,26 @@ CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-src/${PORTVERSION} \
http://www.cs.cornell.edu/People/jcheney/xmlppm/
-
MAINTAINER= hsmtkk@gmail.com
COMMENT= XML-Conscious PPM Compression
-LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
-USES= iconv
-USE_GMAKE= yes
+USES= iconv gmake
MAKE_ARGS= CC="${CXX}" CFLAGS="${CXXFLAGS}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lexpat ${ICONV_LIB}"
GNU_CONFIGURE= yes
-.if !defined(NOPORTDOCS)
PORTDOCS= README
-.endif
-
PLIST_FILES= bin/xmlppm bin/xmlunppm
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/xmlppm ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/src/xmlunppm ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/xmlppm ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/xmlunppm ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>