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

Use framework properly to build

This commit is contained in:
Baptiste Daroussin 2014-06-24 21:49:08 +00:00
parent ef49fa1572
commit dd63ae1966
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359133

View File

@ -12,9 +12,12 @@ DISTNAME= sz${PORTVERSION:S/.//}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast compression utility
OPTIONS_DEFINE= DOCS
USES= gmake
WRKSRC= ${WRKDIR}
NO_WRKSUBDIR= yes
MAKEFILE= makefile
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *.txt
@ -24,9 +27,6 @@ post-patch:
-e "s,^CFLAGS.*,CFLAGS= ${CFLAGS}," \
${WRKSRC}/makefile
do-build:
${GMAKE} -C ${WRKDIR}
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}