pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/uno Simplify package:
details: https://anonhg.NetBSD.org/pkgsrc/rev/1dd02300f5fa
branches: trunk
changeset: 503199:1dd02300f5fa
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Nov 15 21:27:52 2005 +0000
description:
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:
devel/uno/Makefile | 27 +++++++++++++--------------
1 files changed, 13 insertions(+), 14 deletions(-)
diffs (52 lines):
diff -r 8ac52af9c374 -r 1dd02300f5fa devel/uno/Makefile
--- a/devel/uno/Makefile Tue Nov 15 21:21:01 2005 +0000
+++ b/devel/uno/Makefile Tue Nov 15 21:27:52 2005 +0000
@@ -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 @@
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_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"
Home |
Main Index |
Thread Index |
Old Index