summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-07-02 22:44:48 +0000
committerRene Ladan <rene@FreeBSD.org>2013-07-02 22:44:48 +0000
commit7e8268aa940bc3e7d65be86a7f5b7b46c1669655 (patch)
tree15b34bfc8f32fcc9512424fbf467d936c30211ba
parentRemove the QT3 option which depends on the expired QT3 port. (diff)
Remove support for the -qt package variant, this depends on the
expired QT3 port. NOPORTDOCS -> PORT_OPTIONS:MDOCS while here
Notes
Notes: svn path=/head/; revision=322208
-rw-r--r--japanese/nethack34/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/japanese/nethack34/Makefile b/japanese/nethack34/Makefile
index a2c120a3ffe0..0f0c5f55f265 100644
--- a/japanese/nethack34/Makefile
+++ b/japanese/nethack34/Makefile
@@ -42,15 +42,11 @@ USE_GNOME= gnomelibs
GRAPHICS= GNOME_GRAPHICS
.elif ${PKGNAMESUFFIX} == "-nox11"
GRAPHICS= # none
-.elif ${PKGNAMESUFFIX} == "-qt"
-USE_QT_VER= 3
-MAKE_ENV+= QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
- QTCFGLIBS="${QTCFGLIBS} ${PTHREAD_LIBS}" \
- MOC="${MOC}" LIBQT="-lqt-mt"
-GRAPHICS= QT_GRAPHICS
.endif
.endif
+.include <bsd.port.options.mk>
+
post-patch:
.for f in include/config.h sys/unix/Makefile.src sys/unix/Makefile.top
${REINPLACE_CMD} -e 's|%%HACKNAME%%|${HACKNAME}|g;s|%%HACKDIR%%|${PREFIX}/${HACKDIR}|g' ${WRKSRC}/${f}
@@ -67,14 +63,14 @@ pre-configure:
post-install:
# Makefile.top digs bin/lib somehow
${RMDIR} ${PREFIX}/bin/lib
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${PREFIX}/${HACKDOCSDIR}
.for i in README.j ChangeLog.j INSTALL.j
${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/${HACKDOCSDIR}
.endfor
.endif
@cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${MAKE} manpages
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${PREFIX}/${HACKDOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/${HACKDOCSDIR}
.endif