diff options
author | danilo <danilo@FreeBSD.org> | 2013-10-10 06:35:53 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-10-10 06:35:53 +0800 |
commit | fc3705b3a2a293d0712c39e41e3b267148dc1058 (patch) | |
tree | 229eda0d8ff07c6586dc0ecfd43e35ea412b9a32 /sysutils | |
parent | 77e77ae25e3ab3f8b665bd2843acd69716e24d32 (diff) | |
download | freebsd-ports-gnome-fc3705b3a2a293d0712c39e41e3b267148dc1058.tar.gz freebsd-ports-gnome-fc3705b3a2a293d0712c39e41e3b267148dc1058.tar.zst freebsd-ports-gnome-fc3705b3a2a293d0712c39e41e3b267148dc1058.zip |
- Add stage support [1]
- Remove the indefinite article from COMMENT
PR: ports/182644
Submitted by: Denis Generalov <gd@rambler-co.ru> (maintainer) [1]
Approved by: wg/culot (mentors, implicit)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/su2/Makefile | 7 | ||||
-rw-r--r-- | sysutils/su2/files/patch-aa | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/sysutils/su2/Makefile b/sysutils/su2/Makefile index 17881798501e..81fbc6369b44 100644 --- a/sysutils/su2/Makefile +++ b/sysutils/su2/Makefile @@ -8,16 +8,15 @@ CATEGORIES= sysutils security MASTER_SITES= ftp://ftp.ccs.neu.edu/pub/sysadmin/ MAINTAINER= gd@rambler-co.ru -COMMENT= An enhanced su, allows users to su with own password + more +COMMENT= Enhanced su, allows users to su with own password + more PATCH_DEPENDS= rcsdiff:${PORTSDIR}/devel/rcs NO_CDROM= Don't sell for profit -MAN1= su2.1 -PLIST_FILES= bin/su2 +PLIST_FILES= bin/su2 \ + man/man1/su2.1.gz -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e '/^CC=gcc/d' ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's,/etc/super,${PREFIX}/etc/super,g' \ diff --git a/sysutils/su2/files/patch-aa b/sysutils/su2/files/patch-aa index 82556a3fda4a..8181b496d4a2 100644 --- a/sysutils/su2/files/patch-aa +++ b/sysutils/su2/files/patch-aa @@ -6,7 +6,7 @@ # -DEST=/usr/local +PREFIX?=/usr/local -+DEST=${PREFIX} ++DEST=${DESTDIR}${PREFIX} BINDIR=$(DEST)/bin -MANDIR=$(DEST)/man +MANDIR=$(DEST)/man/man1 @@ -35,7 +35,7 @@ + install: su2 - install -c -m 4711 -o root su2 $(BINDIR)/su2 -+ install -c -s -m 4711 -o root su2 $(BINDIR)/su2 ++ install -c -s -m 4711 su2 $(BINDIR)/su2 install -c su2.man $(MANDIR)/su2.1 clean: |