aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xtattr
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2001-09-19 23:05:26 +0800
committermi <mi@FreeBSD.org>2001-09-19 23:05:26 +0800
commit083abed816d05daa55d0eacb3ba1cabb75cc33f8 (patch)
tree5df7917f3710747753a389db623dba0632b645bb /x11/xtattr
parentf0f7250c8a713f2962695eb332c37193d3ba8b7a (diff)
downloadfreebsd-ports-gnome-083abed816d05daa55d0eacb3ba1cabb75cc33f8.tar.gz
freebsd-ports-gnome-083abed816d05daa55d0eacb3ba1cabb75cc33f8.tar.zst
freebsd-ports-gnome-083abed816d05daa55d0eacb3ba1cabb75cc33f8.zip
This little utility is rather usefull on X11-less servers -- you
may with to modify xterm's title or something after you login to one. It does not use X11 at all, except to build its Makefile. Use the simple Makefile of our own, to drop build-dependency on X11. As a side effect, it will be installed into LOCALBASE, rather than X11BASE/bin. Bump up PORTREVISION.
Diffstat (limited to 'x11/xtattr')
-rw-r--r--x11/xtattr/Makefile4
-rw-r--r--x11/xtattr/files/Makefile.bsd12
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/xtattr/Makefile b/x11/xtattr/Makefile
index 6114e01406c9..cb197f149413 100644
--- a/x11/xtattr/Makefile
+++ b/x11/xtattr/Makefile
@@ -7,13 +7,15 @@
PORTNAME= xtattr
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= asami/LOCAL_PORTS
MAINTAINER= ports@FreeBSD.org
-USE_IMAKE= yes
+MAKEFILE= ${FILESDIR}/Makefile.bsd
MAN1= xtattr.1
+MANCOMPRESSED= maybe
.include <bsd.port.mk>
diff --git a/x11/xtattr/files/Makefile.bsd b/x11/xtattr/files/Makefile.bsd
new file mode 100644
index 000000000000..3781891853ab
--- /dev/null
+++ b/x11/xtattr/files/Makefile.bsd
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+PROG=xtattr
+MAN=xtattr.1
+BINDIR=${PREFIX}/bin
+MANDIR=${PREFIX}/man/man
+
+# I'd love to see a more elegant way to do this :(
+xtattr.1:: xtattr.man
+ ln -s xtattr.man xtattr.1
+
+.include <bsd.prog.mk>