aboutsummaryrefslogtreecommitdiff
path: root/converters/uudeview/Makefile
blob: f1ce6a80019e5efd69d75fcf446f0e9654ee9a88 (plain) (blame)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# New ports collection makefile for:	uulib
# Version Required:	0.5.4 (aka. 0.5pl4)
# Date Created:		04 Aug 1996
# Whom:			Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
#
# $Id: Makefile,v 1.4 1996/11/12 02:17:49 obrien Exp $
#

DISTNAME=	uudeview-0.5.4
CATEGORIES=	archivers mail
MASTER_SITES=	http://www.uni-frankfurt.de/~fp/uudeview/Apps/frank/

MAINTAINER=	ac199@freenet.hamilton.on.ca

BUILD_DEPENDS=	${PREFIX}/lib/libuu.a:${PORTSDIR}/devel/uulib

GNU_CONFIGURE=	Yes
# Comment-out the next line and you'll probably enable posting.  I've
# never tried it, and if you do do it, pkg_delete won't delete all the 
# files that are installed.
# NOTE further that all you'll really do is cause uudeview to install
# its own minews do-hicky.
CONFIGURE_ARGS=		--disable-minews
CONFIGURE_ARGS+=	--disable-tcl
MAN1=			uudeview.1 uuenview.1

EXTRAFILES+=	porting.notes

# DOCDIR is used in bsd.own.mk
PORTDOCDIR?=	share/doc/uudeview
DOCFILES+=	porting.notes
DOCFILES+=	HOWTO

post-patch:
	@${ECHO_MSG} "===>  Adding extra files";
	@for l in ${EXTRAFILES}; do \
		${CP} ${FILESDIR}/$${l} ${WRKSRC}/$${l}; \
	done

# Maybe we should pay attention to DOCOWN, DOCGRP, and DOCMODE, set in 
# bsd.own.mk
post-install:
.if !defined(NOPORTDOCS)
	@if [ 'x${DOCFILES}' != x ] ; \
	then \
		${ECHO_MSG} "===>  Copying documents to ${PREFIX}/${PORTDOCDIR}"; \
	fi;
	${MKDIR} ${PREFIX}/${PORTDOCDIR};
	@for l in ${DOCFILES}; \
	do \
		${CP} ${WRKSRC}/$$l ${PREFIX}/${PORTDOCDIR}; \
	done
.else
	@if [ 'x${DOCFILES}' != x ] ; \
	then \
		${ECHO_MSG} "===>  Not copying available documents to ${PREFIX}/${PORTDOCDIR}"; \
	fi;
.endif
	strip ${PREFIX}/bin/uudeview
	strip ${PREFIX}/bin/uuenview

.include <bsd.port.mk>