summaryrefslogtreecommitdiffstats
path: root/print/virtualpaper/Makefile
blob: a8db73f0c5bbaddae6c8abb79014c363b3abf2f0 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# New ports collection makefile for:	virtualpaper
# Version required:	1.4
# Date created:		13 June 1996
# Whom:			jkh
#
# $Id: Makefile,v 1.10 1998/10/13 01:17:27 jseger Exp $
#

DISTNAME=	virtualpaper-1.4
CATEGORIES=	print
MASTER_SITES=	http://www.research.digital.com:80/SRC/virtualpaper/cgi-bin/nph-download.tcl/sources.tar.Z?object=Virtual+Paper/
DISTFILES=	sources.tar.Z

MAINTAINER=	jdp@FreeBSD.org

BUILD_DEPENDS=	m3build-6:${PORTSDIR}/lang/modula-3
LIB_DEPENDS=	m3.6:${PORTSDIR}/lang/modula-3-lib

DIST_SUBDIR=	virtualpaper-1.4
MAN1=		LecternClient.1 Lectern.1 BuildLectern.1 EditLectern.1

do-build:
	@cd ${WRKSRC}/lecternclient; m3build
	@cd ${WRKSRC}/lecterndoc; m3build
	@cd ${WRKSRC}/lectern; m3build
	@cd ${WRKSRC}/ocr; m3build
	@cd ${WRKSRC}/buildlectern; m3build
	@cd ${WRKSRC}/editlectern; m3build

do-install:
	@echo "Installing files"
	@cd ${WRKSRC}; \
	    ${INSTALL_PROGRAM} \
		lecternclient/FreeBSD2/LecternClient \
		lectern/FreeBSD2/Lectern \
		buildlectern/FreeBSD2/BuildLectern \
		editlectern/FreeBSD2/EditLectern \
		${PREFIX}/bin; \
	    ${INSTALL_MAN} \
		lecternclient/FreeBSD2/LecternClient.1 \
		lectern/FreeBSD2/Lectern.1 \
		buildlectern/FreeBSD2/BuildLectern.1 \
		editlectern/FreeBSD2/EditLectern.1 \
		${PREFIX}/man/man1; \
	    ${INSTALL_MAN} \
		lecternclient/FreeBSD2/LecternClient.1.html \
		lectern/FreeBSD2/Lectern.1.html \
		buildlectern/FreeBSD2/BuildLectern.1.html \
		editlectern/FreeBSD2/EditLectern.1.html \
		${PREFIX}/lib/m3/www; \
	    if [ ! -d ${PREFIX}/share/virtualpaper ]; then \
		${MKDIR} ${PREFIX}/share/virtualpaper; \
		${CHMOD} 755 ${PREFIX}/share/virtualpaper; \
	    fi; \
	    ${INSTALL_DATA} COPYRIGHT ${PREFIX}/share/virtualpaper
	@echo "Stripping programs"
	@cd ${PREFIX}/bin; \
	    strip LecternClient Lectern BuildLectern EditLectern

.include <bsd.port.mk>
OpenPOWER on IntegriCloud