svn commit: r352513 - head/graphics/ppminfo
Pawel Pekala
pawel at FreeBSD.org
Mon Apr 28 15:47:00 UTC 2014
Author: pawel
Date: Mon Apr 28 15:47:00 2014
New Revision: 352513
URL: http://svnweb.freebsd.org/changeset/ports/352513
QAT: https://qat.redports.org/buildarchive/r352513/
Log:
- Add staging support
- Convert to new LIB_DEPENDS format
Modified:
head/graphics/ppminfo/Makefile
Modified: head/graphics/ppminfo/Makefile
==============================================================================
--- head/graphics/ppminfo/Makefile Mon Apr 28 15:42:06 2014 (r352512)
+++ head/graphics/ppminfo/Makefile Mon Apr 28 15:47:00 2014 (r352513)
@@ -11,19 +11,18 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports at FreeBSD.org
COMMENT= Shows details of a ppm file
-LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm
+LIB_DEPENDS= libnetpbm.so:${PORTSDIR}/graphics/netpbm
PLIST_FILES= bin/${PORTNAME}
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} 's|min(|MIN(|;s|max(|MAX(|' ${WRKSRC}/pi.c
@${REINPLACE_CMD} 's|-O2||;/^LDFLAGS=/s|=|+=|;\
/^DEBUG=/d' ${WRKSRC}/Makefile
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list