freebsd-ports/textproc/spellutils/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- 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
2011-09-23 22:26:39 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: spellutils
# Date created: Mar 30 jul 2002 22:42:49 CEST
# Whom: thierry@pompo.net
#
# $FreeBSD$
#
PORTNAME= spellutils
PORTVERSION= 0.7
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://home.worldonline.dk/byrial/spellutils/
MAINTAINER= thierry@pompo.net
COMMENT= Programs used to isolate some parts or texts before spell-checking
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GETTEXT= yes
CONFIGURE_ENV= LIBS='-L${LOCALBASE}/lib'
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -lintl
MAN1= pospell.1 newsbody.1
DOCS= NEWS README
EXAMPLES= aspell.sl
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
.for FILE in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.for FILE in ${EXAMPLES}
@${INSTALL_DATA} ${FILESDIR}/${FILE} ${EXAMPLESDIR}
.endfor
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
.endif
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g"
@${ECHO_MSG}
.include <bsd.port.mk>