diff options
author | rene <rene@FreeBSD.org> | 2013-07-03 06:44:48 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-07-03 06:44:48 +0800 |
commit | 5ccad65a118907917feb6817ae651130a3f8d411 (patch) | |
tree | 15b34bfc8f32fcc9512424fbf467d936c30211ba | |
parent | d9b5576b41d072811d252e294f4ef9388854e8c2 (diff) | |
download | freebsd-ports-gnome-5ccad65a118907917feb6817ae651130a3f8d411.tar.gz freebsd-ports-gnome-5ccad65a118907917feb6817ae651130a3f8d411.tar.zst freebsd-ports-gnome-5ccad65a118907917feb6817ae651130a3f8d411.zip |
Remove support for the -qt package variant, this depends on the
expired QT3 port.
NOPORTDOCS -> PORT_OPTIONS:MDOCS while here
-rw-r--r-- | japanese/nethack34/Makefile | 12 |
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 |