mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
0c3af1c5af
Sponsored by: Absolight
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
# Created by: faber@lunabase.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= grap
|
|
PORTVERSION= 1.44
|
|
CATEGORIES= textproc graphics
|
|
MASTER_SITES= http://www.lunabase.org/~faber/Vault/software/grap/
|
|
|
|
MAINTAINER= faber@lunabase.org
|
|
COMMENT= An implementation of Kernigan & Bentley's grap language
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS=--with-freebsd-ports
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
.if defined(.PARSEDIR)
|
|
USE_GMAKE= yes
|
|
.endif
|
|
|
|
CONFLICTS_INSTALL=heirloom-doctools-[0-9]*
|
|
|
|
PORTDOCS= README CHANGES COPYRIGHT grap.man
|
|
PORTEXAMPLES= *
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.doc \
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/grap.defines ${WRKSRC}/grap.tex.defines \
|
|
${STAGEDIR}${DATADIR}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|