svn commit: r352545 - head/graphics/sng
Pawel Pekala
pawel at FreeBSD.org
Mon Apr 28 19:27:57 UTC 2014
Author: pawel
Date: Mon Apr 28 19:27:56 2014
New Revision: 352545
URL: http://svnweb.freebsd.org/changeset/ports/352545
QAT: https://qat.redports.org/buildarchive/r352545/
Log:
- Add staging support
- Convert to new LIB_DEPENDS format
Modified:
head/graphics/sng/Makefile
Modified: head/graphics/sng/Makefile
==============================================================================
--- head/graphics/sng/Makefile Mon Apr 28 19:27:48 2014 (r352544)
+++ head/graphics/sng/Makefile Mon Apr 28 19:27:56 2014 (r352545)
@@ -12,7 +12,7 @@ COMMENT= Compiler/decompiler for Scripta
BUILD_DEPENDS= ${LOCALBASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/rgb
RUN_DEPENDS= ${LOCALBASE}/lib/X11/rgb.txt:${PORTSDIR}/x11/rgb
-LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include/libpng15
@@ -20,15 +20,13 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-png-inc=${LOCALBASE}/include \
--with-rgbtxt=${LOCALBASE}/lib/X11/rgb.txt
-MAN1= sng.1
-PLIST_FILES= bin/sng bin/sng_regress
+PLIST_FILES= bin/sng bin/sng_regress man/man1/sng.1.gz
-NO_STAGE= yes
no-pre-patch:
@${REINPLACE_CMD} -e 's|-static||g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '33,34s|^static ||' ${WRKSRC}/sngd.c
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/sng_regress ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/sng_regress ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list