2010-10-19 03:54:21 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2010/10/19 07:54:22 espie Exp $
|
2007-07-05 05:58:32 -04:00
|
|
|
|
2009-09-07 06:15:04 -04:00
|
|
|
COMMENT = convert source code to markup formats
|
2007-07-05 05:58:32 -04:00
|
|
|
|
2010-07-25 11:06:51 -04:00
|
|
|
DISTNAME = highlight-2.16
|
2009-09-07 06:15:04 -04:00
|
|
|
CATEGORIES = textproc converters
|
2007-07-05 05:58:32 -04:00
|
|
|
|
2009-09-07 06:15:04 -04:00
|
|
|
HOMEPAGE = http://www.andre-simon.de/
|
2007-07-05 05:58:32 -04:00
|
|
|
|
2009-09-07 06:15:04 -04:00
|
|
|
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
2009-05-20 07:35:27 -04:00
|
|
|
|
2009-09-07 06:15:04 -04:00
|
|
|
# GPLv3
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2007-07-05 05:58:32 -04:00
|
|
|
|
2009-09-07 06:15:04 -04:00
|
|
|
WANTLIB = c m stdc++
|
2007-07-05 05:58:32 -04:00
|
|
|
|
2009-09-07 06:15:04 -04:00
|
|
|
MASTER_SITES = ${HOMEPAGE}/zip/
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
2007-07-05 05:58:32 -04:00
|
|
|
|
2009-09-07 06:15:04 -04:00
|
|
|
USE_GMAKE = Yes
|
2010-10-19 03:54:21 -04:00
|
|
|
USE_GROFF = Yes
|
2007-07-05 05:58:32 -04:00
|
|
|
|
2009-09-07 06:15:04 -04:00
|
|
|
MAKE_FILE = makefile
|
|
|
|
MAKE_FLAGS = CXX=${CXX}
|
2007-07-05 05:58:32 -04:00
|
|
|
|
2009-09-07 06:15:04 -04:00
|
|
|
NO_REGRESS = Yes
|
|
|
|
|
|
|
|
SHARE_DIRS = langDefs themes
|
2007-07-05 05:58:32 -04:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
gunzip ${WRKSRC}/man/highlight.1.gz
|
|
|
|
|
|
|
|
do-configure:
|
2009-10-14 11:04:06 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/makefile ${WRKSRC}/man/highlight.1
|
2007-07-05 05:58:32 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/highlight ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/highlight
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/highlight
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/highlight
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/filetypes.conf \
|
|
|
|
${PREFIX}/share/examples/highlight
|
|
|
|
.for d in ${SHARE_DIRS}
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/highlight/$d
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$d/* ${PREFIX}/share/highlight/$d
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/highlight.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|