aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/wyrd
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-05-16 02:41:24 +0800
committeradamw <adamw@FreeBSD.org>2014-05-16 02:41:24 +0800
commit7504ecbc65fe5252de0c4b497b3c1082ec668215 (patch)
tree6463e18c574c71dccfd2f3087538042cb0186437 /deskutils/wyrd
parenta90a5b6e1159dfb9df9534990dea612ddf80725a (diff)
downloadfreebsd-ports-gnome-7504ecbc65fe5252de0c4b497b3c1082ec668215.tar.gz
freebsd-ports-gnome-7504ecbc65fe5252de0c4b497b3c1082ec668215.tar.zst
freebsd-ports-gnome-7504ecbc65fe5252de0c4b497b3c1082ec668215.zip
STAGE support, general cleanups, use @sample where appropriate.
PORTREVISION bumps where plist or pkg-message changed.
Diffstat (limited to 'deskutils/wyrd')
-rw-r--r--deskutils/wyrd/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/deskutils/wyrd/Makefile b/deskutils/wyrd/Makefile
index 3d48516694e0..113dc4eed95c 100644
--- a/deskutils/wyrd/Makefile
+++ b/deskutils/wyrd/Makefile
@@ -17,28 +17,21 @@ RUN_DEPENDS= remind:${PORTSDIR}/deskutils/remind
USES= gmake ncurses
GNU_CONFIGURE= yes
-MAN1= wyrd.1
-MAN5= wyrdrc.5
-PLIST_FILES= bin/wyrd etc/wyrdrc
+PLIST_FILES= bin/wyrd etc/wyrdrc man/man1/wyrd.1.gz man/man5/wyrdrc.5.gz
PORTDOCS= manual.html manual.pdf
OPTIONS_DEFINE= UTF8 DOCS
UTF8_CONFIGURE_ENABLE= utf8
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} 's|gcc|${CC}|' ${WRKSRC}/curses/curses.ml
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/wyrd.opt ${PREFIX}/bin/wyrd
- ${INSTALL_DATA} ${WRKSRC}/wyrdrc ${PREFIX}/etc/wyrdrc
- ${INSTALL_MAN} ${WRKSRC}/doc/wyrd.1 ${MAN1PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/doc/wyrdrc.5 ${MAN5PREFIX}/man/man5
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/wyrd.opt ${STAGEDIR}${PREFIX}/bin/wyrd
+ ${INSTALL_DATA} ${WRKSRC}/wyrdrc ${STAGEDIR}${PREFIX}/etc/wyrdrc
+ ${INSTALL_MAN} ${WRKSRC}/doc/wyrd.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/wyrdrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>