1996-06-14 10:00:15 +02:00
|
|
|
# New ports collection makefile for: virtualpaper
|
|
|
|
# Date created: 13 June 1996
|
|
|
|
# Whom: jkh
|
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1996-06-14 10:00:15 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 19:50:59 +02:00
|
|
|
PORTNAME= virtualpaper
|
|
|
|
PORTVERSION= 1.4
|
2001-07-22 01:28:12 +02:00
|
|
|
PORTREVISION= 1
|
1996-11-17 09:45:20 +01:00
|
|
|
CATEGORIES= print
|
2001-07-22 01:28:12 +02:00
|
|
|
DISTFILES=
|
1996-11-03 20:49:50 +01:00
|
|
|
|
2005-10-10 06:58:27 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Virtual Paper document storage and viewing software
|
1996-11-03 20:49:50 +01:00
|
|
|
|
2006-05-01 21:35:03 +02:00
|
|
|
BUILD_DEPENDS= ${L1}libm3formsvbt${L2}:${PORTSDIR}/lang/pm3-forms \
|
2006-10-12 14:46:59 +02:00
|
|
|
nonexistent:${PORTSDIR}/lang/pm3-base:configure
|
2006-05-01 21:35:03 +02:00
|
|
|
RUN_DEPENDS= ${L1}libm3formsvbt${L2}:${PORTSDIR}/lang/pm3-forms
|
1996-06-14 10:00:15 +02:00
|
|
|
|
2006-10-12 14:46:59 +02:00
|
|
|
NOFETCHFILES= yes
|
|
|
|
ONLY_FOR_ARCHS= i386 alpha
|
2001-07-22 01:28:12 +02:00
|
|
|
DIST_SUBDIR= pm3
|
|
|
|
INSTALL_TARGET= all
|
|
|
|
MAN1= BuildLectern.1 EditLectern.1 Lectern.1 LecternClient.1
|
|
|
|
PLIST_SUB+= SOVERSION=${SOVERSION} TARGET=${TARGET} \
|
2006-10-12 14:46:59 +02:00
|
|
|
INST_TARGET=${INST_TARGET} WORDSIZE=${WORDSIZE}
|
2001-07-22 01:28:12 +02:00
|
|
|
WRKSRC= ${WRKDIRPREFIX}${.CURDIR}/../../lang/pm3-base/work/pm3-${PM3VERSION}
|
|
|
|
|
|
|
|
BUILDDIRS= graphics/lecternpkg/lecternclient \
|
|
|
|
graphics/lecternpkg/lecterndoc \
|
|
|
|
graphics/lecternpkg/lectern \
|
|
|
|
graphics/lecternpkg/ocr \
|
|
|
|
graphics/lecternpkg/buildlectern \
|
|
|
|
graphics/lecternpkg/editlectern
|
|
|
|
L1= ${PREFIX}/lib/m3/${TARGET}/
|
|
|
|
PM3VERSION= 1.1.15
|
|
|
|
PROGS= bin/BuildLectern \
|
|
|
|
bin/EditLectern \
|
|
|
|
bin/Lectern \
|
|
|
|
bin/LecternClient
|
|
|
|
SOVERSION= 7
|
|
|
|
# hack to work around bsd.port.mk problem
|
|
|
|
USE_BZIP2= yes
|
2006-05-01 21:35:03 +02:00
|
|
|
USE_GMAKE= yes
|
2001-07-22 01:28:12 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
|
|
|
L2= .so.${SOVERSION}.0
|
|
|
|
TARGET= FreeBSD2
|
2006-10-12 14:46:59 +02:00
|
|
|
INST_TARGET= freebsd-2
|
2001-07-22 01:28:12 +02:00
|
|
|
WORDSIZE= 32
|
|
|
|
.elif ${ARCH} == "i386"
|
|
|
|
L2= .so.${SOVERSION}
|
|
|
|
.if ${OSVERSION} < 400011
|
|
|
|
TARGET= FreeBSD3
|
2006-10-12 14:46:59 +02:00
|
|
|
INST_TARGET= freebsd-3
|
2001-07-22 01:28:12 +02:00
|
|
|
.else
|
|
|
|
TARGET= FreeBSD4
|
2006-10-12 14:46:59 +02:00
|
|
|
INST_TARGET= freebsd-4
|
2001-07-22 01:28:12 +02:00
|
|
|
.endif
|
|
|
|
WORDSIZE= 32
|
|
|
|
.elif ${ARCH} == "alpha"
|
|
|
|
.if ${OSVERSION} < 400011
|
2006-10-12 14:46:59 +02:00
|
|
|
IGNORE= not supported on older versions of FreeBSD/Alpha
|
2001-07-22 01:28:12 +02:00
|
|
|
.endif
|
|
|
|
CFLAGS+= -mieee
|
|
|
|
L2= .so.${SOVERSION}
|
|
|
|
TARGET= FBSD_ALPHA
|
2006-10-12 14:46:59 +02:00
|
|
|
INST_TARGET= fbsd-alpha
|
2001-07-22 01:28:12 +02:00
|
|
|
WORDSIZE= 64
|
|
|
|
.endif
|
|
|
|
|
2002-10-30 19:51:10 +01:00
|
|
|
.if !defined(TARGET)
|
2001-07-22 01:28:12 +02:00
|
|
|
pre-fetch:
|
|
|
|
@${ECHO_MSG} "Cannot determine M3 target for this architecture"
|
|
|
|
@${FALSE}
|
|
|
|
.endif
|
1996-11-17 09:45:20 +01:00
|
|
|
|
1996-06-14 10:00:15 +02:00
|
|
|
do-build:
|
2001-07-22 01:28:12 +02:00
|
|
|
@${ECHO_MSG} "This port does everything in the install step."
|
|
|
|
@${ECHO_MSG} "The build step is a no-op."
|
1996-06-14 10:00:15 +02:00
|
|
|
|
|
|
|
do-install:
|
2001-07-22 01:28:12 +02:00
|
|
|
@for i in ${BUILDDIRS}; do \
|
|
|
|
${ECHO_MSG} "Building in $${i}"; \
|
|
|
|
cd ${WRKSRC}/$${i} && ${PREFIX}/bin/m3build && \
|
|
|
|
${PREFIX}/bin/m3ship; \
|
|
|
|
done
|
2003-09-24 11:37:11 +02:00
|
|
|
@for i in ${PROGS}; do ${STRIP_CMD} ${PREFIX}/$$i; done
|
2001-07-22 01:28:12 +02:00
|
|
|
@${MKDIR} ${PREFIX}/share/${PORTNAME}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/src/COPYRIGHT ${PREFIX}/share/${PORTNAME}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|