freebsd-ports/lang/Gofer/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: gofer
# Date created: Wed Feb 1 01:51:59 PST 1995
# Whom: hsu
#
# $FreeBSD$
#
PORTNAME= gofer
PORTVERSION= 2.30b
CATEGORIES= lang
MASTER_SITES= http://www.cse.ogi.edu/~mpj/goferarc/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/src
LIBDIR= ${PREFIX}/lib/Gofer
MAN1= gofer.1
USE_REINPLACE= yes
do-install:
@${MKDIR} ${LIBDIR}
${INSTALL_DATA} ${WRKDIR}/*.prelude ${LIBDIR}
${INSTALL_DATA} ${WRKDIR}/src/prelude.h ${LIBDIR}
${REINPLACE_CMD} -e "s|#include \"prelude.h\"|#include \"${LIBDIR}/prelude.h\"|" ${WRKDIR}/src/gofc.h
${INSTALL_DATA} ${WRKDIR}/src/gofc.h ${LIBDIR}
${INSTALL_DATA} ${WRKDIR}/src/runtime.o ${LIBDIR}
${INSTALL_SCRIPT} ${WRKDIR}/scripts/gofer ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/scripts/goferc ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/src/gofer ${LIBDIR}
${INSTALL_PROGRAM} ${WRKDIR}/src/gofc ${LIBDIR}
${INSTALL_MAN} ${WRKDIR}/docs/gofer.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/Gofer
${INSTALL_DATA} ${WRKDIR}/docs/* ${PREFIX}/share/doc/Gofer
.endif
.include <bsd.port.mk>