1997-01-25 04:09:03 -05:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: xwpe
|
|
|
|
# Version required: 1.6.2
|
|
|
|
# Date created: Fri Jan 24, 1997
|
|
|
|
# Whom: David O'Brien (obrien@FreeBSD.org)
|
|
|
|
#
|
1998-02-21 00:15:36 -05:00
|
|
|
# $Id: Makefile,v 1.3 1997/04/22 10:50:10 obrien Exp $
|
1997-01-25 04:09:03 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= xwpe-1.4.2
|
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
1997-04-22 06:50:10 -04:00
|
|
|
ftp://ftp.uni-hannover.de/pub/mirror/linux-distrib/apps/editors/X/
|
|
|
|
MASTER_SITE_SUBDIR= apps/editors/X
|
1997-01-25 04:09:03 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
1998-02-21 00:15:36 -05:00
|
|
|
PATCH_SITES= http://www.rpi.edu/~payned/xwpe/
|
|
|
|
PATCHFILES= xwpe-cosmetic.patch xwpe-grep.patch \
|
|
|
|
xwpe-naming.patch xwpe-xchanges.patch
|
|
|
|
|
1997-01-25 04:09:03 -05:00
|
|
|
MAINTAINER= obrien@NUXI.com
|
|
|
|
|
|
|
|
# LD_LIBRARY_PATH is to deal with a braindead libX11.a search in configure
|
|
|
|
# (once again author assumes too many Linux'isms)
|
|
|
|
# it is not exptected to be set at runtime.
|
|
|
|
MAKE_ENV+= LD_LIBRARY_PATH="${X11BASE}/lib"
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= LD_LIBRARY_PATH="${X11BASE}/lib"
|
|
|
|
USE_GMAKE= yes
|
|
|
|
ALL_TARGET=
|
|
|
|
.if defined(GERMAN_LANG)
|
|
|
|
INSTALL_TARGET= install_german
|
|
|
|
.endif
|
1997-01-25 13:08:40 -05:00
|
|
|
MAN1= xwpe.1
|
|
|
|
|
1997-01-25 04:09:03 -05:00
|
|
|
post-install:
|
|
|
|
@strip ${PREFIX}/bin/xwpe
|
1997-01-25 13:08:40 -05:00
|
|
|
@(cd ${PREFIX}/man/man1 ; \
|
|
|
|
for mp in xwe.1 wpe.1 we.1 ; \
|
1998-02-21 00:15:36 -05:00
|
|
|
do ${RM} -f $$mp ; ln -sf xwpe.1.gz $$mp.gz ; done )
|
1997-01-25 04:09:03 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/xwpe
|
|
|
|
.if defined(GERMAN_LANG)
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/xwpe_gr.doc ${PREFIX}/share/doc/xwpe/xwpe.doc
|
|
|
|
.else
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/xwpe_eng.doc ${PREFIX}/share/doc/xwpe/xwpe.doc
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|