36 lines
869 B
Makefile
36 lines
869 B
Makefile
# $OpenBSD: Makefile,v 1.4 2004/12/07 00:23:23 alek Exp $
|
|
|
|
COMMENT= "RTF document converter"
|
|
|
|
VERSION= 0.18.1
|
|
DISTNAME= unrtf-${VERSION}
|
|
CATEGORIES= textproc
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/unrtf/unrtf.html
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=unrtf/}
|
|
|
|
MAINTAINER= Lurene Grenier <lurene@daemonkitty.net> \
|
|
Patroklos Argyroudis <argp@ieee.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c
|
|
|
|
WRKDIST= ${WRKDIR}/unrtf
|
|
MAKE_FLAGS= CFLAGS='${CFLAGS}' CC='${CC}'
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/unrtf ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unrtf
|
|
${INSTALL_DATA} ${WRKSRC}/doc/unrtf.html ${PREFIX}/share/doc/unrtf/unrtf.html
|
|
${INSTALL_MAN} ${WRKSRC}/unrtf.1 ${PREFIX}/man/man1
|
|
|
|
REGRESS_TARGET= tests
|
|
REGRESS_FLAGS= PATH=${WRKSRC}
|
|
|
|
.include <bsd.port.mk>
|