summaryrefslogtreecommitdiffstats
path: root/net-im/psi
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-05-19 05:51:29 +0000
committerdanfe <danfe@FreeBSD.org>2005-05-19 05:51:29 +0000
commit4614eeaa0daba45c2156a79ac1e020ffecffd88a (patch)
tree31748d2d0d196ccb65dc8f0be75e35a220fa578a /net-im/psi
parent8f67ef0aae2bbda90d0fa28c33df68c24bdb630f (diff)
downloadFreeBSD-ports-4614eeaa0daba45c2156a79ac1e020ffecffd88a.zip
FreeBSD-ports-4614eeaa0daba45c2156a79ac1e020ffecffd88a.tar.gz
Convert to OPTIONS.
Approved by: maintainer
Diffstat (limited to 'net-im/psi')
-rw-r--r--net-im/psi/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/net-im/psi/Makefile b/net-im/psi/Makefile
index 3408aac..72cda48 100644
--- a/net-im/psi/Makefile
+++ b/net-im/psi/Makefile
@@ -34,6 +34,10 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --qtdir=${X11BASE} \
MAKE_ARGS+= QTDIR=${X11BASE} \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
+OPTIONS= KDE "Enable KDE tray support" on
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_KDE)
LIB_DEPENDS= kdecore:${PORTSDIR}/x11/kdelibs3
_NO_KDE_CONFTARGET_HACK= yes
@@ -43,15 +47,6 @@ CONFIGURE_ARGS+= --disable-kde
PLIST_SUB+= KDE="@comment "
.endif
-pre-everything::
- @${ECHO} "============================================================="
- @${ECHO}
- @${ECHO} "You can build ${PKGNAME} with the following options:"
- @${ECHO}
- @${ECHO} "WITH_KDE enable kde tray support"
- @${ECHO}
- @${ECHO} "============================================================="
-
pre-install:
.if defined(WITH_KDE)
@for size in 16x16 32x32 48x48; do \
@@ -62,4 +57,4 @@ pre-install:
post-install:
${STRIP_CMD} ${PREFIX}/bin/psi
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud