mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-27 21:29:02 +00:00
81eed0ab15
list of recognized MAN-sections in bsd.man.mk. The port's Makefile.bsd simply declared MANN=gdtclft.n and the included bsd.lib.mk was doing the right thing. Now I had to add an explicit post-install target to the main Makefile.
37 lines
819 B
Makefile
37 lines
819 B
Makefile
# New ports collection makefile for: Gdtclft
|
|
# Date Created: 10 February 2000
|
|
# Whom: Mikhail Teterin <mi@aldan.algebra.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Gdtclft
|
|
PORTVERSION= 2.2.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics tcl${TCL_DVER}
|
|
MASTER_SITES= ftp://ftp.graphviz.org/pub/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
|
|
LIB_DEPENDS= tcl${TCL_DVER}.1:${PORTSDIR}/lang/tcl${TCL_DVER} \
|
|
gd.2:${PORTSDIR}/graphics/gd
|
|
|
|
TCL_VER= 8.3
|
|
TCL_DVER= ${TCL_VER:S/.//}
|
|
|
|
USE_FREETYPE= yes
|
|
MAKEFILE= ${FILESDIR}/Makefile.bsd
|
|
MAKE_ENV= TCL_VER=${TCL_VER} MKDIR="${MKDIR}" \
|
|
INSTALL_DATA="${INSTALL_DATA}"
|
|
ALL_TARGET= all
|
|
|
|
MANN= gdtclft.n
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/${MANN} ${PREFIX}/man/mann/
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
PLIST_SUB!= ${SETENV} TCL_VER=${TCL_VER} ${MAKE} -f ${MAKEFILE} env
|