diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-05-08 23:41:05 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-05-08 23:41:05 +0000 |
commit | d48434b92b9ef49db9c7fda365438e0a4d20f6dc (patch) | |
tree | 82a30bfa6d87473ab22f16ac0b0ce2e1191b409d | |
parent | 1d930db62adb4f2a45e6052bb901c705a2c60f9e (diff) |
Support stage
Notes
Notes:
svn path=/head/; revision=353365
-rw-r--r-- | cad/gdt/Makefile | 3 | ||||
-rw-r--r-- | cad/gdt/files/Makefile | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cad/gdt/Makefile b/cad/gdt/Makefile index 084e38ba52ba..946450f526a8 100644 --- a/cad/gdt/Makefile +++ b/cad/gdt/Makefile @@ -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> diff --git a/cad/gdt/files/Makefile b/cad/gdt/files/Makefile index 420e19995ab3..bcf59a790a81 100644 --- a/cad/gdt/files/Makefile +++ b/cad/gdt/files/Makefile @@ -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}} |