aboutsummaryrefslogtreecommitdiffstats
path: root/net/kdetelnet
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-02-22 07:40:32 +0800
committercpiazza <cpiazza@FreeBSD.org>2000-02-22 07:40:32 +0800
commit67cc2141708e5654f15dda6a63d6e3a253f8d34f (patch)
tree6a951969c81819e1ed87287ee26c566485ef86e8 /net/kdetelnet
parent7dc0f24d9ff19bc11baa77e73986068f5fd17c56 (diff)
downloadfreebsd-ports-gnome-67cc2141708e5654f15dda6a63d6e3a253f8d34f.tar.gz
freebsd-ports-gnome-67cc2141708e5654f15dda6a63d6e3a253f8d34f.tar.zst
freebsd-ports-gnome-67cc2141708e5654f15dda6a63d6e3a253f8d34f.zip
Cleanup. USE_QT instead of depending on qt.2 and moc , remove extra depends
that aren't needed. GNU_CONFIGURE, not HAS_CONFIGURE PR: 16846 Submitted by: Will Andrews <andrews@technologist.com>
Diffstat (limited to 'net/kdetelnet')
-rw-r--r--net/kdetelnet/Makefile25
1 files changed, 10 insertions, 15 deletions
diff --git a/net/kdetelnet/Makefile b/net/kdetelnet/Makefile
index 2dd0474876f2..540761e8fb9f 100644
--- a/net/kdetelnet/Makefile
+++ b/net/kdetelnet/Makefile
@@ -14,25 +14,20 @@ EXTRACT_SUFX= .tgz
MAINTAINER= hanspb@persbraten.vgs.no
-BUILD_DEPENDS= moc:${PORTSDIR}/x11-toolkits/qt142
-LIB_DEPENDS= qt.2:${PORTSDIR}/x11-toolkits/qt142 \
- jpeg.9:${PORTSDIR}/graphics/jpeg \
- kdecore.2:${PORTSDIR}/x11/kdelibs11 \
- kdeui.2:${PORTSDIR}/x11/kdelibs11
+LIB_DEPENDS= kdecore.2:${PORTSDIR}/x11/kdelibs11
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= "--prefix=$(PREFIX)"
-CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" \
- INSTALL_SCRIPT="install -c -m 555"
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CXXFLAGS="$(CXXFLAGS)" \
+ INSTALL_SCRIPT="$(INSTALL_SCRIPT)"
+USE_QT= yes
post-install:
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/HTML/en/ktelnet
- ${MKDIR} ${PREFIX}/share/doc/HTML/de/ktelnet
- ${INSTALL_MAN} ${WRKSRC}/doc/index.en.html \
- ${PREFIX}/share/doc/HTML/en/ktelnet/index.html
- ${INSTALL_MAN} ${WRKSRC}/doc/index.de.html \
- ${PREFIX}/share/doc/HTML/de/ktelnet/index.html
+.for DIR in en de
+ @${MKDIR} ${PREFIX}/share/doc/HTML/${DIR}/ktelnet
+ @${INSTALL_MAN} ${WRKSRC}/doc/index.${DIR}.html \
+ ${PREFIX}/share/doc/HTML/${DIR}/ktelnet/index.html
+.endfor
.endif
.include <bsd.port.mk>