diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2004-03-26 17:49:07 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2004-03-26 17:49:07 +0000 |
commit | 12f24bd542d642ddd60c235e3d0773bf8037156d (patch) | |
tree | 626209485284151d0ab8c48c4db24ae07eae028b /net-im/licq | |
parent | 4ad74a8845b2c84e1217ce1666111b86fa5aa52f (diff) | |
download | ports-12f24bd542d642ddd60c235e3d0773bf8037156d.tar.gz ports-12f24bd542d642ddd60c235e3d0773bf8037156d.zip |
- make PKGNAMESUFFIX more flexible
- LICQ_PORT without PORTSDIR
Notes
Notes:
svn path=/head/; revision=105359
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> |