mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
b6656bf3a4
- Update to 4.99.41 [1] - NOPORTDOCS -> PORT_OPTIONS:MDOCS [1] - Add LICENSE (GPLv3) - Use PLIST_FILES, PORTDOCS and PORTEXAMPLES instead of pkg-plist Changes: http://rfsber.home.xs4all.nl/Robo/changelog.html PR: ports/179718 [1] Submitted by: Anton Shterenlikht <mexas@bris.ac.uk> (maintainer) Approved by: culot / jpaetzel (mentors, implicit)
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# Created by: Will Andrews <andrews@technologist.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= robodoc
|
|
PORTVERSION= 4.99.41
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://rfsber.home.xs4all.nl/Robo/ \
|
|
http://seis.bris.ac.uk/~mexas/distfiles/
|
|
|
|
MAINTAINER= mexas@bris.ac.uk
|
|
COMMENT= Code reference program similar to cxref that produces HTML
|
|
|
|
LICENSE= GPLv3
|
|
|
|
GNU_CONFIGURE= yes
|
|
MAKEFILE= makefile
|
|
|
|
MAN1= robodoc.1 robohdrs.1
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
DOCS_FILES= AUTHORS ChangeLog NEWS README Docs/manual.html Docs/manual.css \
|
|
Docs/robodoc_example.rc
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
PLIST_FILES= bin/robodoc bin/robohdrs
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Source/robodoc ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Source/robohdrs ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/Docs/robodoc.1 ${MANPREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/Docs/robohdrs.1 ${MANPREFIX}/man/man1
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${DOCS_FILES:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/Examples/* ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|