1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- make PKGNAMESUFFIX more flexible

- LICQ_PORT without PORTSDIR
This commit is contained in:
Dirk Meyer 2004-03-26 17:49:07 +00:00
parent 4ad74a8845
commit 12f24bd542
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105359
7 changed files with 22 additions and 26 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -18,14 +18,14 @@ DISTNAME= ${PKGNAMEPREFIX}${LICQ_VER}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Jons GTK plugin for licq
RUN_DEPENDS+= licq:${LICQ_PORT}
RUN_DEPENDS+= licq:${PORTSDIR}/${LICQ_PORT}
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
LIBS="${PTHREAD_LIBS}"
LICQ_PORT?= ${PORTSDIR}/net/licq
LICQ_PORT?= net/licq
USE_GNOME= gtk12
PLIST_SUB+= GUI_NAME=jons-gtk
EXTRA_FIX= ${WRKSRC}/src/Makefile.in

View File

@ -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>

View File

@ -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>