Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2014 09:36:51 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348456 - head/textproc/xmlppm
Message-ID:  <201403170936.s2H9ap6G071345@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403170936.s2H9ap6G071345>