openbsd-ports/net/amsn/Makefile
sthen d1c6f80880 use REVISION, checked with before/after make show=PKGNAMES (plus some
extra-careful checking where there are complicated PSEUDO_FLAVORS).
2010-07-12 22:07:37 +00:00

56 lines
1.3 KiB
Makefile

#$OpenBSD: Makefile,v 1.9 2010/07/12 22:07:37 sthen Exp $
COMMENT= open source MSN Messenger clone
DISTNAME= amsn-0.97.2
REVISION= 3
CATEGORIES= net
HOMEPAGE= http://www.amsn-project.net/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=amsn/}
EXTRACT_SUFX= .tar.bz2
WANTLIB= ICE SM X11 m pthread-stubs stdc++ xcb z
LIB_DEPENDS= jpeg::graphics/jpeg \
png::graphics/png
RUN_DEPENDS+= ${MODTK_RUN_DEPENDS} \
::security/tcltls \
::x11/bwidget \
:desktop-file-utils-*:devel/desktop-file-utils
BUILD_DEPENDS= ${MODTK_BUILD_DEPENDS} \
::security/tcltls
MODULES= x11/tk
USE_GMAKE= Yes
MAKE_FLAGS= verbose=yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-tcl=${MODTCL_LIBDIR} \
--with-tk=${MODTK_LIBDIR}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
LDFLAGS="-lm -L${LOCALBASE}/lib -fPIC" \
TK_INC_SPEC="${MODTK_INCDIR}/generic" \
TCLSH="${MODTCL_BIN}"
pre-configure:
@${SUBST_CMD} ${WRKSRC}/amsn*
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>