diff options
author | John Marino <marino@FreeBSD.org> | 2013-11-10 15:10:03 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2013-11-10 15:10:03 +0000 |
commit | a1385b8a286d707375e59e61bf3e37043f64513e (patch) | |
tree | be22d4fdbfcbd4a342e7a7f24f148137df963f25 /lang/adacontrol | |
parent | - Update from 0.2.3 to 0.2.4 (diff) |
lang/adacontrol: Convert to staging
Notes
Notes:
svn path=/head/; revision=333403
Diffstat (limited to 'lang/adacontrol')
-rw-r--r-- | lang/adacontrol/Makefile | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/lang/adacontrol/Makefile b/lang/adacontrol/Makefile index 9a7e2c9f7801..1e379d6e30da 100644 --- a/lang/adacontrol/Makefile +++ b/lang/adacontrol/Makefile @@ -16,29 +16,24 @@ BUILD_DEPENDS= asis>=2011:${PORTSDIR}/lang/asis \ USES= ada gmake WRKSRC= ${WRKDIR}/adactl-${PORTVERSION} -DESTINY= ${WRKDIR}/destino BUILD_WRKSRC= ${WRKSRC}/src ALL_TARGET= build -NO_STAGE= yes do-install: - # To support DESTDIR in the future, install twice - ${MKDIR} ${DESTINY}${PREFIX}/bin - ${MKDIR} ${DESTINY}${PREFIX}/share/gps/plug-ins - ${MKDIR} ${DESTINY}${PREFIX}/share/doc/gps/html - ${MKDIR} ${DESTINY}${PREFIX}/share/doc/adacontrol - ${MKDIR} ${DESTINY}${PREFIX}/share/gprconfig + ${MKDIR} ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${PREFIX}/share/gps/plug-ins + ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/gps/html + ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/adacontrol + ${MKDIR} ${STAGEDIR}${PREFIX}/share/gprconfig ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/adactl ${BUILD_WRKSRC}/pfni \ - ${BUILD_WRKSRC}/ptree ${DESTINY}/${PREFIX}/bin + ${BUILD_WRKSRC}/ptree ${STAGEDIR}/${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/GPS/adacontrol.xml \ - ${DESTINY}${PREFIX}/share/gprconfig + ${STAGEDIR}${PREFIX}/share/gprconfig ${INSTALL_DATA} ${WRKSRC}/GPS/*adactl* ${WRKSRC}/GPS/pfni.* \ - ${DESTINY}${PREFIX}/share/gps/plug-ins + ${STAGEDIR}${PREFIX}/share/gps/plug-ins ${INSTALL_MAN} ${WRKSRC}/doc/*.html \ - ${DESTINY}${PREFIX}/share/doc/gps/html + ${STAGEDIR}${PREFIX}/share/doc/gps/html ${INSTALL_MAN} ${WRKSRC}/doc/*.pdf ${WRKSRC}/doc/*.html \ - ${DESTINY}${PREFIX}/share/doc/adacontrol - # Now install from DESTDIR - ${CP} -pR ${DESTINY}${PREFIX}/ ${PREFIX}/ + ${STAGEDIR}${PREFIX}/share/doc/adacontrol .include <bsd.port.mk> |