svn commit: r348456 - head/textproc/xmlppm
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Mar 17 09:36:52 UTC 2014
Author: ehaupt
Date: Mon Mar 17 09:36:51 2014
New Revision: 348456
URL: http://svnweb.freebsd.org/changeset/ports/348456
QAT: https://qat.redports.org/buildarchive/r348456/
Log:
- Support staging
- USES -> gmake
- Define DOCS option
- New LIB_DEPENDS definition
Modified:
head/textproc/xmlppm/Makefile
Modified: head/textproc/xmlppm/Makefile
==============================================================================
--- head/textproc/xmlppm/Makefile Mon Mar 17 09:27:32 2014 (r348455)
+++ head/textproc/xmlppm/Makefile Mon Mar 17 09:36:51 2014 (r348456)
@@ -7,32 +7,26 @@ CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-src/${PORTVERSION} \
http://www.cs.cornell.edu/People/jcheney/xmlppm/
-
MAINTAINER= hsmtkk at 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>
More information about the svn-ports-all
mailing list