1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2013-10-22 21:13:49 +00:00
parent a5a6e81907
commit f99f870994
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331324
4 changed files with 10 additions and 14 deletions

View File

@ -17,7 +17,6 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost
${LOCALBASE}/include/libiberty/libiberty.h:${PORTSDIR}/devel/gnulibiberty
LIB_DEPENDS= explain:${PORTSDIR}/devel/libexplain
NO_STAGE= yes
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
@ -25,8 +24,7 @@ MAKE_JOBS_UNSAFE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= tardy.1
PLIST_FILES= bin/tardy
PLIST_FILES= bin/tardy man/man1/tardy.1.gz
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
@ -44,7 +42,8 @@ post-patch:
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/man1/${MAN1} ${MANPREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.post.mk>

View File

@ -11,7 +11,6 @@ EXTRACT_SUFX= .gz
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Extracts .lzx archives from Amiga systems
NO_STAGE= yes
PLIST_FILES= bin/unlzx
do-extract:
@ -22,6 +21,6 @@ do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -12,7 +12,6 @@ COMMENT= Extract game archives such as wad, dar, mea exe's, and many more
LICENSE= GPLv2
NO_STAGE= yes
USES= gmake
GNU_CONFIGURE= yes
USE_DOS2UNIX= yes
@ -28,6 +27,6 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}_kdev \
${PREFIX}/bin/${PORTNAME}
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>

View File

@ -17,9 +17,7 @@ COMMENT= ZOO archive extractor
EXTRA_DEFINES= -DSYS_IS_UNIX -DSYS_HAS_MKDIR
NO_STAGE= yes
MAN1= unzoo.1
PLIST_FILES= bin/unzoo
PLIST_FILES= bin/unzoo man/man1/unzoo.1.gz
CFLAGS+= -trigraphs
@ -32,7 +30,8 @@ do-build:
${WRKSRC}/${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>