From 81eed0ab15fb0a33c1ab4bf69dc4ac0752bb8147 Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Tue, 3 Jul 2001 16:10:41 +0000 Subject: Package building for this port was broken, when `n' was removed from the 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. --- graphics/gdtclft/Makefile | 4 +++- graphics/gdtclft/files/Makefile.bsd | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'graphics') diff --git a/graphics/gdtclft/Makefile b/graphics/gdtclft/Makefile index 047feb0f0971..9342f0112d22 100644 --- a/graphics/gdtclft/Makefile +++ b/graphics/gdtclft/Makefile @@ -27,7 +27,9 @@ MAKE_ENV= TCL_VER=${TCL_VER} MKDIR="${MKDIR}" \ ALL_TARGET= all MANN= gdtclft.n -MANCOMPRESSED= maybe + +post-install: + ${INSTALL_MAN} ${WRKSRC}/${MANN} ${PREFIX}/man/mann/ .include diff --git a/graphics/gdtclft/files/Makefile.bsd b/graphics/gdtclft/files/Makefile.bsd index da8d1a98b4e6..2949a54eea69 100644 --- a/graphics/gdtclft/files/Makefile.bsd +++ b/graphics/gdtclft/files/Makefile.bsd @@ -25,7 +25,6 @@ CFLAGS +=-I${PREFIX}/include/tcl${TCL_VER} -I${PREFIX}/include/gd CFLAGS +=-DNDEBUG -Wall -I. -DUSE_TCL_STUBS -I${PREFIX}/include CFLAGS +=-DVERSION=\"${VERSION}\" -MANn = gdtclft.n INTERNALLIB = don't build the useless static version all: ${SHLIB_NAME} pkgIndex.tcl -- cgit v1.2.3