1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Add staging support

Define LICENSE
Switch over to USES framework
This commit is contained in:
Steven Kreuzer 2013-12-27 15:16:28 +00:00
parent 726ebee6ee
commit 12aa00bf23
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337740

View File

@ -10,17 +10,18 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Command line utility to create GutenPalm's zTXT format databases
LICENSE= GPLv2
PLIST_FILES= bin/makeztxt
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
USES= gmake
MAKE_ENV+= USEPOSIX=1 LONG_OPTS=1
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} 's/-O2//' ${WRKSRC}/libztxt/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/makeztxt ${LOCALBASE}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/makeztxt ${STAGEDIR}${LOCALBASE}/bin/
.include <bsd.port.mk>