31 lines
833 B
Makefile
31 lines
833 B
Makefile
# $OpenBSD: Makefile,v 1.2 2010/04/05 14:49:25 ajacoutot Exp $
|
|
|
|
CATEGORIES = textproc
|
|
COMMENT = gnu clone of nroff
|
|
|
|
# groff 1.15 as patched for OpenBSD 4.7
|
|
DISTNAME = groff-1.15.4.7
|
|
PKGNAME = ${DISTNAME}p0
|
|
MASTER_SITES = http://www.bsdfrog.org/OpenBSD/distfiles/
|
|
|
|
# GPLv2
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WRKDIST = ${WRKDIR}/groff
|
|
MAKE_FILE = Makefile.bsd-wrapper
|
|
WANTLIB += c m stdc++
|
|
|
|
MAKE_FLAGS = BINDIR=${TRUEPREFIX}/bin MANDIR=${TRUEPREFIX}/man/cat \
|
|
PREFIX=${TRUEPREFIX} DATASUBDIR=${TRUEPREFIX}/share \
|
|
FONTDIR=${TRUEPREFIX}/share/groff_font \
|
|
INDEXDIR=${TRUEPREFIX}/share/dict/papers \
|
|
COMMON_WORDS=${TRUEPREFIX}/share/dict/eign
|
|
|
|
do-configure:
|
|
cd ${WRKDIST} && ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} config.status
|
|
|
|
.include <bsd.port.mk>
|