mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
656a9479b9
This patch allows the admin of the machine to choose either print/ghostscript-gnu or print/ghostscript-afp1 PR: ports/54937 Submitted by: Jens Rehsack <rehsack@liwing.de>
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# New ports collection makefile for: wb
|
|
# Date created: 2 Novermber 1996
|
|
# Whom: fenner
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wb
|
|
PORTVERSION= 1.59
|
|
CATEGORIES= mbone
|
|
MASTER_SITES= ftp://ftp.ee.lbl.gov/conferencing/wb/
|
|
DISTFILES= i386-wb-1.59.tar.Z
|
|
|
|
MAINTAINER= fenner@FreeBSD.org
|
|
COMMENT= A shared drawing (whiteboard) tool using multicast
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
USE_X_PREFIX= yes
|
|
|
|
# XXX ghostscript, ghostscript3, ghostscript4 or ghostscript5 will all do.
|
|
.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
|
|
GSPORT?= print/ghostscript-afpl
|
|
.else
|
|
GSPORT?= print/ghostscript-gnu
|
|
.endif
|
|
|
|
RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORTOBJFORMAT} == "elf"
|
|
STRIP=
|
|
.endif
|
|
|
|
pre-fetch:
|
|
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
|
@${ECHO} ""
|
|
@${ECHO} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
|
|
@${ECHO} " AFPL Postscript interpreter instead of GNU one"
|
|
@${ECHO} ""
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wb ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/wb
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wb
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/wb
|
|
${INSTALL_DATA} ${WRKSRC}/NOTES ${PREFIX}/share/doc/wb
|
|
${INSTALL_DATA} ${WRKSRC}/lblwb.ps ${PREFIX}/share/doc/wb
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|