diff options
author | edwin <edwin@FreeBSD.org> | 2006-04-14 13:48:36 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-04-14 13:48:36 +0800 |
commit | a618b51596a419995403697c236cdea46c202236 (patch) | |
tree | a940406acc58739380cc2421710aff45619558a4 /x11/xtset | |
parent | 7780604119f68ef4c7d437d1c758ee42b38e03a5 (diff) | |
download | freebsd-ports-gnome-a618b51596a419995403697c236cdea46c202236.tar.gz freebsd-ports-gnome-a618b51596a419995403697c236cdea46c202236.tar.zst freebsd-ports-gnome-a618b51596a419995403697c236cdea46c202236.zip |
[PATCH] x11/xtset: make it PREFIX-clean; portlint
Attached patch-Makefile.diff make this port PREFIX-clean.
Grog maybe you could apply it and release a new version for
this port ? Else it could be placed as files/patch-Makefile.diff
under the port directory in our CVS tree.
Use MAN1 (and MANCOMPRESSED=yes) to make portlint happy
and remove the file from pkg-plist. Since a single file
remains put it in PLIST_FILES variable and drop pkg-plist
entirely.
PR: ports/94756
Submitted by: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
Approved by: maintainer timeout
Diffstat (limited to 'x11/xtset')
-rw-r--r-- | x11/xtset/Makefile | 7 | ||||
-rw-r--r-- | x11/xtset/files/patch-Makefile | 15 | ||||
-rw-r--r-- | x11/xtset/pkg-plist | 2 |
3 files changed, 21 insertions, 3 deletions
diff --git a/x11/xtset/Makefile b/x11/xtset/Makefile index db8ccfdc054f..db4f5d9c7a93 100644 --- a/x11/xtset/Makefile +++ b/x11/xtset/Makefile @@ -11,8 +11,13 @@ CATEGORIES= x11 MASTER_SITES= ftp://ftp.lemis.com/pub/ MAINTAINER= grog@FreeBSD.Org -COMMENT= utility to set title on an xterm +COMMENT= Utility to set title on an xterm NO_WRKSUBDIR= YES +PLIST_FILES= bin/xtset + +MAN1= xtset.1 +MANCOMPRESSED= yes + .include <bsd.port.mk> diff --git a/x11/xtset/files/patch-Makefile b/x11/xtset/files/patch-Makefile new file mode 100644 index 000000000000..5b579869e60d --- /dev/null +++ b/x11/xtset/files/patch-Makefile @@ -0,0 +1,15 @@ +--- Makefile.dist Tue Mar 21 02:50:36 2006 ++++ Makefile Tue Mar 21 02:52:28 2006 +@@ -1,6 +1,9 @@ ++PREFIX?= /usr/local ++MANPREFIX?= ${PREFIX} ++ + all: xtset + + install: all +- install -C xtset /usr/local/bin +- mkdir -p /usr/local/man/man1 +- gzip -c xtset.1 > /usr/local/man/man1/xtset.1.gz ++ install -C xtset ${PREFIX}/bin ++ mkdir -p ${MANPREFIX}/man/man1 ++ gzip -c xtset.1 > ${MANPREFIX}/man/man1/xtset.1.gz diff --git a/x11/xtset/pkg-plist b/x11/xtset/pkg-plist index 1cb593d3f842..e69de29bb2d1 100644 --- a/x11/xtset/pkg-plist +++ b/x11/xtset/pkg-plist @@ -1,2 +0,0 @@ -bin/xtset -man/man1/xtset.1.gz |