aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-04-10 08:03:24 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-04-10 08:03:24 +0800
commit6ad6ec28b2b300ca1f914c42691bc79c5450f026 (patch)
tree9f0df802a45b26eb63c2499273aed8b659103793 /irc
parentb44aa6063ba3ab37345676b41ad47f9e6bef8613 (diff)
downloadfreebsd-ports-gnome-6ad6ec28b2b300ca1f914c42691bc79c5450f026.tar.gz
freebsd-ports-gnome-6ad6ec28b2b300ca1f914c42691bc79c5450f026.tar.zst
freebsd-ports-gnome-6ad6ec28b2b300ca1f914c42691bc79c5450f026.zip
- Remove bsd.port.pre.mk
- Convert to OPTIONSNG - Stage
Diffstat (limited to 'irc')
-rw-r--r--irc/irssi-fish/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/irc/irssi-fish/Makefile b/irc/irssi-fish/Makefile
index ea65689ba94c..8887f47ed7db 100644
--- a/irc/irssi-fish/Makefile
+++ b/irc/irssi-fish/Makefile
@@ -22,8 +22,7 @@ USE_LDCONFIG= yes
PLIST_FILES= lib/irssi/modules/libfish.so
PORTDOCS= FiSH-irssi.txt FiSH-irssi_History.txt
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${ARCH} == "amd64"
ALL_TARGET= amd64
@@ -46,13 +45,13 @@ post-patch:
@${REINPLACE_CMD} -e '/mirdef.lnx/d' ${WRKSRC}/Makefile
do-install:
-.ifndef(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
- ${MKDIR} ${PREFIX}/lib/irssi/modules
- ${INSTALL_PROGRAM} ${WRKSRC}/libfish.so ${PREFIX}/lib/irssi/modules
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/irssi/modules
+ ${INSTALL_PROGRAM} ${WRKSRC}/libfish.so ${STAGEDIR}${PREFIX}/lib/irssi/modules
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>