summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorcheusov <cheusov>2012-05-29 21:51:15 +0000
committercheusov <cheusov>2012-05-29 21:51:15 +0000
commitf981261c4851a55e19c59a124b30922a3bb2abf0 (patch)
tree090aa4aa88c5d87942addbdf7e88d21e25ad37e2 /editors
parentf0a39e5a91b384e13421bdcf920fb3c1cd207a7e (diff)
downloadpkgsrc-f981261c4851a55e19c59a124b30922a3bb2abf0.tar.gz
Remove GNU_PROGRAM_PREFIX variable (discussed in pkgsrc-users@).
All utilities are installed with a prefix 'g'. Symlinks with original names are created in ${PREFIX}/gnu/bin. ++pkgrevision Add LICENSE
Diffstat (limited to 'editors')
-rw-r--r--editors/ed/Makefile20
-rw-r--r--editors/ed/PLIST14
2 files changed, 19 insertions, 15 deletions
diff --git a/editors/ed/Makefile b/editors/ed/Makefile
index 01d40b7d484..29be873df55 100644
--- a/editors/ed/Makefile
+++ b/editors/ed/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2010/01/27 18:20:43 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2012/05/29 21:51:15 cheusov Exp $
DISTNAME= ed-1.1
+PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU:=ed/}
EXTRACT_SUFX= .tar.bz2
@@ -8,21 +9,22 @@ EXTRACT_SUFX= .tar.bz2
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.gnu.org/software/ed/ed.html
COMMENT= GNU version of line-oriented text editor
+LICENSE= gnu-gpl-v3
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
-.include "../../mk/bsd.prefs.mk"
+INFO_FILES= yes
-INFO_FILES= # PLIST
-
-.if defined(GNU_PROGRAM_PREFIX)
-CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q}
-.endif
-PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q}
-BUILD_DEFS+= GNU_PROGRAM_PREFIX
+CONFIGURE_ARGS+= --program-prefix=g
INSTALL_TARGET= install install-man
+INSTALLATION_DIRS= gnu/bin
+
+post-install:
+ ln -s ../../bin/ged ${DESTDIR}${PREFIX}/gnu/bin/ed
+ ln -s ../../bin/gred ${DESTDIR}${PREFIX}/gnu/bin/red
+
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/ed/PLIST b/editors/ed/PLIST
index 54c48858903..0974014411a 100644
--- a/editors/ed/PLIST
+++ b/editors/ed/PLIST
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2006/03/20 18:15:38 jlam Exp $
-bin/${GNU_PROGRAM_PREFIX}ed
-bin/${GNU_PROGRAM_PREFIX}red
-info/${GNU_PROGRAM_PREFIX}ed.info
-man/man1/${GNU_PROGRAM_PREFIX}ed.1
-man/man1/${GNU_PROGRAM_PREFIX}red.1
+@comment $NetBSD: PLIST,v 1.4 2012/05/29 21:51:15 cheusov Exp $
+bin/ged
+bin/gred
+gnu/bin/ed
+gnu/bin/red
+info/ged.info
+man/man1/ged.1
+man/man1/gred.1