Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2014 12:10:24 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367617 - head/palm/jpilot-picsnvideos
Message-ID:  <201409081210.s88CAO1V030627@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Mon Sep  8 12:10:24 2014
New Revision: 367617
URL: http://svnweb.freebsd.org/changeset/ports/367617
QAT: https://qat.redports.org/buildarchive/r367617/

Log:
  - Add USES=libtool and INSTALL_TARGET=install-strip
  - Replace LDFLAGS with LIBS
  - Avoid including bsd.port.options.mk

Modified:
  head/palm/jpilot-picsnvideos/Makefile

Modified: head/palm/jpilot-picsnvideos/Makefile
==============================================================================
--- head/palm/jpilot-picsnvideos/Makefile	Mon Sep  8 11:45:50 2014	(r367616)
+++ head/palm/jpilot-picsnvideos/Makefile	Mon Sep  8 12:10:24 2014	(r367617)
@@ -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/j
 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>



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