summaryrefslogtreecommitdiff
path: root/devel/uno
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-11-15 21:27:52 +0000
committerwiz <wiz@pkgsrc.org>2005-11-15 21:27:52 +0000
commitc6ffb805c687629a02b8c8255c7315c17b12f816 (patch)
tree9c5e78b3b801ddd5018d7099c6ae7e3b3212fbd0 /devel/uno
parent74ae2eeea9ce4e57b5bd55bc5ad68b81be4d6d64 (diff)
downloadpkgsrc-c6ffb805c687629a02b8c8255c7315c17b12f816.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/Makefile27
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"