diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-04-14 05:48:36 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-04-14 05:48:36 +0000 |
commit | 5250e44e3fe102157dc3eeae7449f829fc679eba (patch) | |
tree | 8f4aa4c7b6183be1a0541671878879a89ef98fda /x11/xtset | |
parent | [PATCH] textproc/docbook-310: FIx pkg-descr (diff) |
[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
Notes
Notes:
svn path=/head/; revision=159458
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 |