summaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2005-05-17 18:22:47 +0000
committerAnders Nordby <anders@FreeBSD.org>2005-05-17 18:22:47 +0000
commit234074c5dc53bd8967b62419ce0642c8702107c3 (patch)
treec7e1801290e3a63d69fa904945f3455ec2e81791 /x11-clocks
parent- Update to 0.8.2.20050517 since the 0.8.2.20050516 tarball was rerolled. (diff)
Add man page.
Print correct version number. Requested by: martinkov@pobox.sk
Notes
Notes: svn path=/head/; revision=135506
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>