pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/rename Add DESTDIR support and BUILDLINK_TRAN...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a4a934cbe238
branches: trunk
changeset: 546701:a4a934cbe238
user: bjs <bjs%pkgsrc.org@localhost>
date: Sat Sep 06 22:44:18 2008 +0000
description:
Add DESTDIR support and BUILDLINK_TRANSFORM+= opt:-O3:${CFLAGS}.
Do installation in pkgsrc Makefile.
Bump pkgrevision (due to change to sane optimization).
diffstat:
sysutils/rename/Makefile | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 4765a5fa1f81 -r a4a934cbe238 sysutils/rename/Makefile
--- a/sysutils/rename/Makefile Sat Sep 06 22:37:04 2008 +0000
+++ b/sysutils/rename/Makefile Sat Sep 06 22:44:18 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/11/05 15:56:34 rillig Exp $
+# $NetBSD: Makefile,v 1.2 2008/09/06 22:44:18 bjs Exp $
DISTNAME= rename-1.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rename/}
@@ -9,7 +9,17 @@
HOMEPAGE= http://rename.sourceforge.net/
COMMENT= Rename recursively with regex patterns
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
+BUILDLINK_TRANSFORM+= opt:-O3:${CFLAGS}
+
+do-install:
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin && \
+ ${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
+ ${INSTALL_PROGRAM} ${WRKSRC}/rename ${DESTDIR}${PREFIX}/bin && \
+ ${INSTALL_MAN} ${WRKSRC}/rename.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index