freebsd-ports/x11/xtset/files/patch-Makefile
Edwin Groothuis 5250e44e3f [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
2006-04-14 05:48:36 +00:00

15 lines
406 B
Text

--- 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