1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-05-08 23:41:05 +00:00
parent 1d930db62a
commit d48434b92b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353365
2 changed files with 2 additions and 3 deletions

View File

@ -17,7 +17,6 @@ SHEBANG_FILES= Examples/gdsinfo Examples/scalegds
WRKSRC= ${WRKDIR}/${PORTNAME:tu}-${PORTVERSION}
PLIST_FILES= bin/gdsinfo bin/gds2gdt bin/gdt2gds bin/scalegds
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
${WRKSRC}/Examples/gdsinfo ${WRKSRC}/Examples/scalegds
@ -29,6 +28,6 @@ post-install:
${INSTALL_SCRIPT} \
${WRKSRC}/Examples/gdsinfo \
${WRKSRC}/Examples/scalegds \
${PREFIX}/bin
${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -34,7 +34,7 @@ clean:
rm -f *.o ${PROG}
install:
${BSD_INSTALL_PROGRAM} ${PROG} ${PREFIX}/bin
${BSD_INSTALL_PROGRAM} ${PROG} ${DESTDIR}${PREFIX}/bin
.for P in ${PROG}
${P}: ${OBJS.${P}}