aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-20 23:40:25 +0800
committereadler <eadler@FreeBSD.org>2012-10-20 23:40:25 +0800
commit1313f2d5a827936607a8eea97a4ca807b09bf54c (patch)
tree5b3c3a7b52b74aa6ed29e397ffd7d13b9a8ca87d
parenta749e6b35929a54eb3bf259218aaa087a6b34f78 (diff)
downloadfreebsd-ports-graphics-1313f2d5a827936607a8eea97a4ca807b09bf54c.tar.gz
freebsd-ports-graphics-1313f2d5a827936607a8eea97a4ca807b09bf54c.tar.zst
freebsd-ports-graphics-1313f2d5a827936607a8eea97a4ca807b09bf54c.zip
Convert to OptionsNG
Feature safe: yes
-rw-r--r--deskutils/launchy/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/deskutils/launchy/Makefile b/deskutils/launchy/Makefile
index 6f15c77330d..5dadd461faa 100644
--- a/deskutils/launchy/Makefile
+++ b/deskutils/launchy/Makefile
@@ -17,6 +17,8 @@ USE_DOS2UNIX= readme.lyx readme.txt
USE_QT4= qmake_build moc_build rcc_build uic_build gui network
PORTDOCS= *
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} 's,/usr,${PREFIX},' \
${WRKSRC}/platforms/unix/unix.pro \
@@ -32,7 +34,7 @@ do-configure:
${QMAKE} ${QMAKEFLAGS} -r Launchy.pro)
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/?eadme.* ${DOCSDIR}
.endif