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

Support staging

This commit is contained in:
Emanuel Haupt 2014-03-14 08:36:03 +00:00
parent 6d459688af
commit 5b462786ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348169

View File

@ -12,18 +12,14 @@ COMMENT= Convert QuickTime movie files to streamable format
PLIST_FILES= bin/qt-faststart
NO_STAGE= yes
.include <bsd.port.pre.mk>
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${FILESDIR}/${PORTNAME}.c ${WRKSRC}
@${MKDIR} ${WRKSRC}
@${CP} ${FILESDIR}/${PORTNAME}.c ${WRKSRC}
do-build:
cd ${WRKSRC} && \
${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME}
${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.post.mk>
.include <bsd.port.mk>