aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-08 20:10:24 +0800
committertijl <tijl@FreeBSD.org>2014-09-08 20:10:24 +0800
commit554b992bc67f8b9ffaa2cb5998b3b95000572dde (patch)
treeac966597c63e4a17c1d0eb2ee46abf59232a580c
parent945c3252da67aae0f76f454273e63c410a5d38f4 (diff)
downloadfreebsd-ports-gnome-554b992bc67f8b9ffaa2cb5998b3b95000572dde.tar.gz
freebsd-ports-gnome-554b992bc67f8b9ffaa2cb5998b3b95000572dde.tar.zst
freebsd-ports-gnome-554b992bc67f8b9ffaa2cb5998b3b95000572dde.zip
- Add USES=libtool and INSTALL_TARGET=install-strip
- Replace LDFLAGS with LIBS - Avoid including bsd.port.options.mk
-rw-r--r--palm/jpilot-picsnvideos/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/palm/jpilot-picsnvideos/Makefile b/palm/jpilot-picsnvideos/Makefile
index 5288b4e73d0e..fbfc784efbc8 100644
--- a/palm/jpilot-picsnvideos/Makefile
+++ b/palm/jpilot-picsnvideos/Makefile
@@ -3,7 +3,7 @@
PORTNAME= picsnvideos
PORTVERSION= 0.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= palm comms graphics
MASTER_SITES= SF/${PORTNAME}/source%20code/${PORTVERSION}
PKGNAMEPREFIX= jpilot-
@@ -18,26 +18,24 @@ BUILD_DEPENDS= jpilot:${PORTSDIR}/palm/jpilot
LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm
GNU_CONFIGURE= yes
+LIBS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
+USES= libtool
-LDFLAGS+= -L${PREFIX}/lib
PORTDOCS= README AUTHORS
-PLIST_FILES= lib/jpilot/plugins/libpicsnvideos.la \
- lib/jpilot/plugins/libpicsnvideos.so
+PLIST_FILES= lib/jpilot/plugins/libpicsnvideos.so
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+ -e '/LIBS=/s/$$libs/$$LIBS/' \
${WRKSRC}/configure
post-install:
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
-. for FILE in ${PORTDOCS}
+.for FILE in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
-. endfor
-.endif
+.endfor
.include <bsd.port.mk>