e40d2b88f3
- Fix MASTER_SITES - Use NOPORTDOCS PR: ports/83870 Submitted by: Benny Kjaergaard <benny@wax.dk> (maintainer) Approved by: flz (mentor)
40 lines
952 B
Makefile
40 lines
952 B
Makefile
# New ports collection makefile for: smstools
|
|
# Date created: 06-11-2004
|
|
# Whom: Benny Kjaergaard <bennyk@wax.dk>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= smstools
|
|
PORTVERSION= 1.14.11
|
|
CATEGORIES= comms
|
|
MASTER_SITES= http://mirrors.catpipe.net/smstools/
|
|
|
|
MAINTAINER= bennyk@wax.dk
|
|
COMMENT= Tools to handle Short Message Service
|
|
|
|
LIB_DEPENDS= mm:${PORTSDIR}/devel/mm
|
|
|
|
WRKSRC= ${WRKDIR}/smstools
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
|
|
post-patch:
|
|
echo "${EXAMPLESDIR}"
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
|
|
${WRKSRC}/src/smsd_cfg.c \
|
|
${WRKSRC}/install.sub \
|
|
${WRKSRC}/Makefile \
|
|
${WRKSRC}/examples/smsd.conf.easy \
|
|
${WRKSRC}/examples/smsd.conf.full \
|
|
${WRKSRC}/bin/sms
|
|
@${REINPLACE_CMD} -e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g" \
|
|
${WRKSRC}/install.sub
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${CP} -Rfv ${WRKSRC}/doc/* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|