freebsd-ports/net-im/licq-console/Makefile
Max Khon cafdf2676d Add an ability to build licq plugins using licq-devel port:
- licq-console, licq-qt-gui:
	conditionally include licq-devel/Makefile.inc instead of
	licq/Makefile.inc if -DWITH_LICQ_DEVEL is specified
- dynamically generated plists (currently used in licq-qt-gui port only)
2002-02-08 10:10:39 +00:00

34 lines
836 B
Makefile

# New ports collection makefile for: console-licq
# Date created: 18 October 2000
# Whom: Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD$
#
PORTNAME= console
PORTVERSION= ${CONSOLE_LICQ_VER}
CATEGORIES= net
MAINTAINER= licq@FreeBSD.org
USE_AUTOMAKE= yes
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
LIBS="${PTHREAD_LIBS}"
post-configure:
@${PERL5} -pi -e 's|^archive_cmds=.*nostdlib.*|| ; \
s|^build_libtool_need_lc=.*|build_libtool_need_lc=no|' \
${WRKSRC}/libtool
post-install:
@${INSTALL_DATA} ${WRKSRC}/licq_console.conf \
${PREFIX}/etc/licq_console.conf.sample
.include <bsd.port.pre.mk>
.if defined(WITH_LICQ_DEVEL)
.include "${PORTSDIR}/net/licq-devel/Makefile.inc"
.else
.include "${PORTSDIR}/net/licq/Makefile.inc"
.endif
.include <bsd.port.post.mk>