diff options
-rw-r--r-- | x11-clocks/wmfishtime/Makefile | 6 |
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> |