diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-03-27 01:49:07 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-03-27 01:49:07 +0800 |
commit | 94cb17f8abab42c8d414add48edd4037f38433f8 (patch) | |
tree | 9a754371e4ad43a6b06493f289688f191f3bd8e5 /net-im/licq | |
parent | 99a0325a2a289cca2d769412f8fde08650b300fb (diff) | |
download | freebsd-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/licq')
-rw-r--r-- | net-im/licq/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
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> |