aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-03-27 01:49:07 +0800
committerdinoex <dinoex@FreeBSD.org>2004-03-27 01:49:07 +0800
commit94cb17f8abab42c8d414add48edd4037f38433f8 (patch)
tree9a754371e4ad43a6b06493f289688f191f3bd8e5 /net-im
parent99a0325a2a289cca2d769412f8fde08650b300fb (diff)
downloadfreebsd-ports-gnome-94cb17f8abab42c8d414add48edd4037f38433f8.tar.gz
freebsd-ports-gnome-94cb17f8abab42c8d414add48edd4037f38433f8.tar.zst
freebsd-ports-gnome-94cb17f8abab42c8d414add48edd4037f38433f8.zip
- make PKGNAMESUFFIX more flexible
- LICQ_PORT without PORTSDIR
Diffstat (limited to 'net-im')
-rw-r--r--net-im/licq-console/Makefile4
-rw-r--r--net-im/licq-qt-gui/Makefile9
-rw-r--r--net-im/licq/Makefile9
3 files changed, 10 insertions, 12 deletions
diff --git a/net-im/licq-console/Makefile b/net-im/licq-console/Makefile
index 437b6685fb4b..eb56d95565da 100644
--- a/net-im/licq-console/Makefile
+++ b/net-im/licq-console/Makefile
@@ -17,8 +17,8 @@ COMMENT= Ncurses-based console plugin for Licq
#USE_AUTOMAKE_VER= 15
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
LIBS="${PTHREAD_LIBS}"
-LICQ_PORT?= ${PORTSDIR}/net/licq
+LICQ_PORT?= net/licq
.include <bsd.port.pre.mk>
-.include "${LICQ_PORT}/Makefile.inc"
+.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
.include <bsd.port.post.mk>
diff --git a/net-im/licq-qt-gui/Makefile b/net-im/licq-qt-gui/Makefile
index 0728221aca42..73e1133e0a58 100644
--- a/net-im/licq-qt-gui/Makefile
+++ b/net-im/licq-qt-gui/Makefile
@@ -9,18 +9,17 @@ PORTNAME= qt-gui
PORTVERSION= ${QT_LICQ_VER}
PORTREVISION= 2
CATEGORIES= net
-.if defined(WITH_KDE)
-PKGNAMESUFFIX= -kde
-.endif
+PKGNAMESUFFIX?= ${KDE_SUFFIX}${PKGNAMESUFFIX2}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Qt plugin for licq
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
LIBS="${PTHREAD_LIBS}"
-LICQ_PORT?= ${PORTSDIR}/net/licq
+LICQ_PORT?= net/licq
.if defined(WITH_KDE)
+KDE_SUFFIX= -kde
USE_KDELIBS_VER=3
CONFIGURE_ARGS+=--with-kde
CONFIGURE_ENV+= KDEDIR="${LOCALBASE}"
@@ -48,5 +47,5 @@ post-install:
.endif
.include <bsd.port.pre.mk>
-.include "${LICQ_PORT}/Makefile.inc"
+.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
.include <bsd.port.post.mk>
diff --git a/net-im/licq/Makefile b/net-im/licq/Makefile
index 4414cfad23dd..8e96cd6a5b70 100644
--- a/net-im/licq/Makefile
+++ b/net-im/licq/Makefile
@@ -9,9 +9,7 @@ PORTNAME= base
PORTVERSION= ${LICQ_VER}
PORTREVISION= 2
CATEGORIES= net
-.if defined(WITH_SOCKS)
-PKGNAMESUFFIX= -socks
-.endif
+PKGNAMESUFFIX= ${SOCKS_SUFFIX}${PKGNAMESUFFIX2}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= A popular ICQ-compatible plugin-based program
@@ -22,7 +20,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
-LICQ_PORT?= ${.CURDIR}
+LICQ_PORT?= ${PKGCATEGORY}/${PORTDIRNAME}
# workaround for installed autoconf/automake
CONFIGURE_ARGS+=--program-transform-name=s,y,y,
@@ -30,6 +28,7 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
LDFLAGS+= ${PTHREAD_LIBS}
.if defined(WITH_SOCKS)
+SOCKS_SUFFIX= -socks
CONFIGURE_ARGS+=--enable-socks5
CONFIGURE_ARGS+=--with-socks5-inc=${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -59,5 +58,5 @@ post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
-.include "${LICQ_PORT}/Makefile.inc"
+.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
.include <bsd.port.post.mk>