blob: 4ec84bf871e3240ff40a2d0966901f74ebee8409 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: xdeview
# Version Required: 0.5.13
# Date Created: 9 Feb 1997
# Whom: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
#
# $Id: Makefile,v 1.5 1997/04/27 00:23:54 asami Exp $
#
DISTNAME= uudeview-0.5.13
PKGNAME= xdeview-0.5.13
CATEGORIES= converters tk80
MASTER_SITES= ftp://ftp.uni-frankfurt.de/pub/dist/frank/ \
http://www.uni-frankfurt.de/~fp/uudeview/Apps/frank/ \
ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/
MAINTAINER= hoek@FreeBSD.ORG
LIB_DEPENDS= tk80\\.1\\.:${PORTSDIR}/x11/tk80
LIB_DEPENDS= uu\\.1\\.:${PORTSDIR}/converters/uulib
FILESDIR= ${.CURDIR}/../../converters/uulib/files
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-tcl="${PREFIX}" --enable-tk="${PREFIX}"
# Season to taste --- anything over tcl7.5
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include/tcl8.0 -I${PREFIX}/include/tk8.0"
FETCH_BEFORE_ARGS= -t
ALL_TARGET= xdeview
INSTALL_TARGET= install-tcl
MAN1= xdeview.1
PORTDOCDIR?= share/doc/xdeview
DOCFILES+= ${FILESDIR}/porting.notes ${WRKSRC}/HOWTO
post-install:
strip ${PREFIX}/bin/uuwish
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Copying documents to ${PREFIX}/${PORTDOCDIR}"
@${MKDIR} ${PREFIX}/${PORTDOCDIR}
${INSTALL_MAN} ${DOCFILES} ${PREFIX}/${PORTDOCDIR}
.else
@${ECHO_MSG} "===> Not copying available documents"
.endif
${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${PREFIX}/man/man1
.include <bsd.port.mk>
|