freebsd-ports/textproc/spellutils/Makefile
Thierry Thomas 46bf293be8 textproc/spellutils: move manpages
Also retrieve WWW from web.archive.org.
2024-02-23 17:23:08 +01:00

41 lines
938 B
Makefile

PORTNAME= spellutils
PORTVERSION= 0.7
PORTREVISION= 5
CATEGORIES= textproc
MASTER_SITES= LOCAL/thierry
MAINTAINER= thierry@FreeBSD.org
COMMENT= Programs used to isolate some parts or texts before spell-checking
WWW= https://web.archive.org/web/20081225045803/http://home.worldonline.dk/byrial/spellutils/
LICENSE= GPLv2
USES= gettext tar:bzip2
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lintl
DOCS= NEWS README
EXAMPLES= aspell.sl
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for FILE in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
.for FILE in ${EXAMPLES}
${INSTALL_DATA} ${FILESDIR}/${FILE} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>