aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2005-05-18 02:22:47 +0800
committeranders <anders@FreeBSD.org>2005-05-18 02:22:47 +0800
commit8c9263d816186356be48deefffa057791db2c39d (patch)
treecfa267fa03cae04b7cc75ec632b90dff8800a268 /x11-clocks
parent175fd150b90e987ee17cd22810e972e1240029ae (diff)
downloadfreebsd-ports-gnome-8c9263d816186356be48deefffa057791db2c39d.tar.gz
freebsd-ports-gnome-8c9263d816186356be48deefffa057791db2c39d.tar.zst
freebsd-ports-gnome-8c9263d816186356be48deefffa057791db2c39d.zip
Add man page.
Print correct version number. Requested by: martinkov@pobox.sk
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/wmfishtime/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-clocks/wmfishtime/Makefile b/x11-clocks/wmfishtime/Makefile
index 5316f92a7f8e..8a600a0d4837 100644
--- a/x11-clocks/wmfishtime/Makefile
+++ b/x11-clocks/wmfishtime/Makefile
@@ -17,6 +17,7 @@ COMMENT= A time/date applet for WindowMaker with fishes swimming around
USE_GETOPT_LONG=yes
USE_GNOME= gtk12
USE_X_PREFIX= yes
+USE_REINPLACE= yes
GTK_LIBS?= `${GTK_CONFIG} --libs`
GTK_CFLAGS?= `${GTK_CONFIG} --cflags`
@@ -24,8 +25,13 @@ MAKE_ARGS+= CFLAGS="${CPPFLAGS} ${CFLAGS} -Wall ${GTK_CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
GTK_LIBS="${GTK_LIBS}"
PLIST_FILES= bin/wmfishtime
+MAN1= wmfishtime.1
+
+post-patch:
+ ${REINPLACE_CMD} -E -e "s@1\.23@1\.24@g" ${WRKSRC}/fishmon.c ${WRKSRC}/wmfishtime.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmfishtime ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/wmfishtime.1 ${PREFIX}/man/man1/
.include <bsd.port.mk>