mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
42 lines
1022 B
Makefile
42 lines
1022 B
Makefile
# New ports collection makefile for: climsn
|
|
# Date created: 2006-03-31
|
|
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= msn
|
|
PORTVERSION= 2.3.2
|
|
CATEGORIES= net-im
|
|
MASTER_SITES= http://mor-pah.net/code/
|
|
PKGNAMEPREFIX= cli-
|
|
DISTNAME= CLI-MSN-${PORTVERSION}
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Command line msn messenger
|
|
|
|
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_LIBS}
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
WRKSRC= ${WRKDIR}/climsn
|
|
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}
|
|
|
|
.include <bsd.port.mk>
|