ports/94756: [PATCH] x11/xtset: make it PREFIX-clean; portlint
Ion-Mihai IOnut Tetcu
itetcu at people.tecnik93.com
Tue Mar 21 01:20:15 UTC 2006
>Number: 94756
>Category: ports
>Synopsis: [PATCH] x11/xtset: make it PREFIX-clean; portlint
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 21 01:20:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Ion-Mihai "IOnut" Tetcu
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
Tecnik'93
>Environment:
System: FreeBSD 6.1-PRERELEASE #0: Fri Feb 24 07:01:54 EET 2006
root at it.buh.tecnik93.com:/usr/obj/usr/src/sys/IT6_B_P
>Description:
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.
>How-To-Repeat:
>Fix:
--- xtset.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/xtset/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 7 Mar 2003 06:36:20 -0000 1.3
+++ Makefile 21 Mar 2006 00:55:52 -0000
@@ -11,8 +11,13 @@
MASTER_SITES= ftp://ftp.lemis.com/pub/
MAINTAINER= grog at 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>
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist 9 Mar 2001 01:59:37 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
-bin/xtset
-man/man1/xtset.1.gz
--- xtset.diff ends here ---
--- patch-Makefile.diff begins here ---
--- 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
--- patch-Makefile.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list