openbsd-ports/net/amsn/Makefile

74 lines
1.8 KiB
Makefile
Raw Normal View History

#$OpenBSD: Makefile,v 1.13 2010/09/14 18:34:14 jasper Exp $
2007-10-22 15:32:24 -04:00
COMMENT= open source MSN Messenger clone
V= 0.98.3
DISTNAME= amsn-$V-src
PKGNAME= ${DISTNAME:S/-src//}
REVISION= 0
2007-10-22 15:32:24 -04:00
CATEGORIES= net
HOMEPAGE= http://www.amsn-project.net/
MAINTAINER= Azwaw OUSADOU <bsdmaniak@gmail.com>
2010-09-14 08:35:58 -04:00
# GPLv2
2007-10-22 15:32:24 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=amsn/${V}/}
2007-10-22 15:32:24 -04:00
EXTRACT_SUFX= .tar.bz2
WANTLIB= ICE SM X11 m stdc++ z glib-2.0 gmodule-2.0 gobject-2.0 \
gthread-2.0 gstbase-0.10 gstinterfaces-0.10 \
gstreamer-0.10 xml2
2007-10-22 15:32:24 -04:00
LIB_DEPENDS= jpeg::graphics/jpeg \
png::graphics/png \
gstfarsight-0.10::net/farsight2
RUN_DEPENDS+= ${MODTK_RUN_DEPENDS} \
2007-10-22 15:32:24 -04:00
::security/tcltls \
::x11/bwidget \
:desktop-file-utils-*:devel/desktop-file-utils
BUILD_DEPENDS= ${MODTK_BUILD_DEPENDS} \
2007-10-22 15:32:24 -04:00
::security/tcltls
MODTK_THREADED= Yes
2010-09-14 08:35:58 -04:00
MODULES= devel/gettext \
x11/tk
2007-10-22 15:32:24 -04:00
USE_GMAKE= Yes
MAKE_FLAGS= verbose=yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-tcl=${MODTCL_LIBDIR} \
--with-tk=${MODTK_LIBDIR} \
--enable-debug \
--disable-libv4l \
--disable-upnp
2007-10-22 15:32:24 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
LDFLAGS="-lm -L${LOCALBASE}/lib" \
TK_INC_SPEC="${MODTK_INCDIR}/generic" \
TCLSH="${MODTCL_BIN}"
2007-10-22 15:32:24 -04:00
WRKDIST= ${WRKDIR}/amsn-$V/
NO_REGRESS= Yes # Generic tcl/tk tests.
2007-10-22 15:32:24 -04:00
pre-configure:
@${SUBST_CMD} ${WRKSRC}/amsn*
@${MODTCL_WISH_ADJ} ${WRKSRC}/amsn
2007-10-22 15:32:24 -04:00
post-install:
.for a in amsn amsn-remote amsn-remote-CLI
cd ${PREFIX}/bin && ln -s ../share/amsn/$a
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/amsn
${INSTALL_DATA} ${WRKSRC}/{FAQ,README} ${PREFIX}/share/doc/amsn
${INSTALL_DATA} ${WRKSRC}/docs/{FAQ,README}* ${PREFIX}/share/doc/amsn
.include <bsd.port.mk>