2006-06-06 17:47:19 +00:00
|
|
|
# New ports collection makefile for: climsn
|
|
|
|
# Date created: 2006-03-31
|
|
|
|
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= msn
|
2006-06-16 08:09:40 +00:00
|
|
|
PORTVERSION= 2.3
|
2009-01-23 15:43:14 +00:00
|
|
|
PORTREVISION= 2
|
2006-06-06 17:47:19 +00:00
|
|
|
CATEGORIES= net-im
|
|
|
|
MASTER_SITES= http://mor-pah.net/code/
|
|
|
|
PKGNAMEPREFIX= cli-
|
|
|
|
DISTNAME= CLI-MSN-${PORTVERSION}
|
|
|
|
|
2006-07-23 02:45:24 +00:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2006-06-06 17:47:19 +00:00
|
|
|
COMMENT= Command line msn messenger
|
|
|
|
|
2009-01-23 15:43:14 +00:00
|
|
|
LIB_DEPENDS= curl.5:${PORTSDIR}/ftp/curl
|
2006-06-06 17:47:19 +00:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_LIBS}
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-06-06 17:47:19 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PLIST_FILES= bin/cli-msn \
|
|
|
|
share/${PKGNAMEPREFIX}${PORTNAME}/msn.conf \
|
|
|
|
share/${PKGNAMEPREFIX}${PORTNAME}/curl-ca-bundle.crt
|
|
|
|
PLIST_DIRS= share/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/msn ${PREFIX}/bin/cli-msn
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/msn.conf ${WRKSRC}/curl-ca-bundle.crt ${DATADIR}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2007-10-04 16:21:36 +00:00
|
|
|
.include <bsd.port.mk>
|