aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-28 15:47:00 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-28 15:47:00 +0000
commitc50a8db3969156a61e00f616892f43dd13a41e7a (patch)
tree5f783e6be2765cf080ed5ee9cec8c247ce4687ef /graphics
parente5a6ad5da6fe7a31c5980b15ec40cbcd604d29ab (diff)
downloadports-c50a8db3969156a61e00f616892f43dd13a41e7a.tar.gz
ports-c50a8db3969156a61e00f616892f43dd13a41e7a.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ppminfo/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/ppminfo/Makefile b/graphics/ppminfo/Makefile
index de7eec7edc41..ac196ddb0603 100644
--- a/graphics/ppminfo/Makefile
+++ b/graphics/ppminfo/Makefile
@@ -11,19 +11,18 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@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>