diff options
author | wiz <wiz> | 2005-11-15 21:27:52 +0000 |
---|---|---|
committer | wiz <wiz> | 2005-11-15 21:27:52 +0000 |
commit | 9d349cdc0d35243012215514b508089b88de5927 (patch) | |
tree | 9c5e78b3b801ddd5018d7099c6ae7e3b3212fbd0 /devel/uno | |
parent | eef5eda018306e91e30e53884c547f8dcdca41f2 (diff) | |
download | pkgsrc-9d349cdc0d35243012215514b508089b88de5927.tar.gz |
Simplify package:
MAKEFILE=makefile instead of do-build target.
Continuations are not needed for the do-install target.
Fix typo in SUBST_MESSAGE.
Fix PKGNAME.
Diffstat (limited to 'devel/uno')
-rw-r--r-- | devel/uno/Makefile | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/devel/uno/Makefile b/devel/uno/Makefile index 104ccba27be..ccc7b5f5cce 100644 --- a/devel/uno/Makefile +++ b/devel/uno/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.1 2005/11/15 20:55:47 shannonjr Exp $ +# $NetBSD: Makefile,v 1.2 2005/11/15 21:27:52 wiz Exp $ # DISTNAME= uno_v28 +PKGNAME= uno-2.8 CATEGORIES= devel MASTER_SITES= http://spinroot.com/uno/ @@ -9,20 +10,18 @@ MAINTAINER= shannonjr@NetBSD.org HOMEPAGE= http://spinroot.com/uno/ COMMENT= Tool for source code analysis -WRKSRC= ${WRKDIR}/Uno/src - -do-build: - cd ${WRKSRC} && ${SETENV} ${BUILDENV} make -f makefile +WRKSRC= ${WRKDIR}/Uno/src +MAKEFILE= makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/uno ${PREFIX}/bin; \ - ${INSTALL_PROGRAM} ${WRKSRC}/uno_local ${PREFIX}/bin; \ - ${INSTALL_PROGRAM} ${WRKSRC}/uno_global ${PREFIX}/bin; \ - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uno; \ - ${INSTALL_DATA} ${WRKDIR}/Uno/doc/uno_long.pdf ${PREFIX}/share/doc/uno; \ - ${INSTALL_DATA} ${WRKDIR}/Uno/doc/uno_man.pdf ${PREFIX}/share/doc/uno; \ - ${INSTALL_DATA} ${WRKDIR}/Uno/doc/uno_manpage.pdf ${PREFIX}/share/doc/uno; \ - ${INSTALL_DATA} ${WRKDIR}/Uno/doc/uno_short.pdf ${PREFIX}/share/doc/uno; \ + ${INSTALL_PROGRAM} ${WRKSRC}/uno ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/uno_local ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/uno_global ${PREFIX}/bin + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uno + ${INSTALL_DATA} ${WRKDIR}/Uno/doc/uno_long.pdf ${PREFIX}/share/doc/uno + ${INSTALL_DATA} ${WRKDIR}/Uno/doc/uno_man.pdf ${PREFIX}/share/doc/uno + ${INSTALL_DATA} ${WRKDIR}/Uno/doc/uno_manpage.pdf ${PREFIX}/share/doc/uno + ${INSTALL_DATA} ${WRKDIR}/Uno/doc/uno_short.pdf ${PREFIX}/share/doc/uno ${INSTALL_MAN} ${WRKDIR}/Uno/doc/uno.1 ${PREFIX}/man/man1 USE_TOOLS+= bison gmake flex @@ -31,6 +30,6 @@ SUBST_CLASSES+= prefix SUBST_STAGE.prefix= post-patch SUBST_FILES.prefix= makefile SUBST_SED.prefix= -e "s,/usr/bin,${PREFIX}/bin,g" -SUBST_MESSAGE.prefix= "Fixing harcoded paths." +SUBST_MESSAGE.prefix= "Fixing hardcoded paths." .include "../../mk/bsd.pkg.mk" |