1999-05-05 00:58:09 +02:00
|
|
|
# New ports collection makefile for: XView
|
|
|
|
# Date created: 22 November 1994
|
|
|
|
# Whom: ljo (orig)
|
1995-04-12 17:22:43 +02:00
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1995-04-12 17:22:43 +02:00
|
|
|
#
|
|
|
|
|
2000-04-10 03:11:24 +02:00
|
|
|
PORTNAME= xview
|
2001-02-05 17:49:17 +01:00
|
|
|
PORTVERSION= 3.2.1
|
2006-10-07 12:28:40 +02:00
|
|
|
PORTREVISION= 5
|
1998-08-08 00:56:48 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
2003-12-14 00:38:21 +01:00
|
|
|
MASTER_SITES= ftp://ftp.efd.lth.se/pub/X11/ \
|
|
|
|
ftp://ftp.uni-heidelberg.de/pub/X11/contrib/libraries/ \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= pav
|
2000-04-10 03:11:24 +02:00
|
|
|
DISTNAME= xview3.2p1-X11R6
|
1998-05-04 05:34:56 +02:00
|
|
|
|
2004-05-09 09:10:43 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= X Window-System-based Visual/Integrated Environment for Workstations
|
1994-11-22 13:06:23 +01:00
|
|
|
|
2006-10-07 12:28:40 +02:00
|
|
|
BUILD_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
|
|
|
|
|
2003-12-14 00:38:21 +01:00
|
|
|
REINPLACE_ARGS= -i ""
|
1995-04-12 17:22:43 +02:00
|
|
|
USE_IMAKE= yes
|
2006-08-15 03:13:42 +02:00
|
|
|
USE_LDCONFIG= yes
|
1999-05-05 00:58:09 +02:00
|
|
|
IMAKEINCLUDE= "-I${X11BASE}/lib/X11/config -I${WRKSRC}/config"
|
|
|
|
MAKE_ENV+= IMAKEINCLUDE=${IMAKEINCLUDE}
|
|
|
|
ALL_TARGET= World
|
2006-10-07 12:28:40 +02:00
|
|
|
SUB_FILES= pkg-message
|
1995-04-12 17:22:43 +02:00
|
|
|
|
2006-12-28 19:24:06 +01:00
|
|
|
X11BASE2FIX= clients/olwm/screen.c clients/olwmslave/help_file.c \
|
|
|
|
lib/libxview/help/help_file.c lib/libxview/misc/gettext.h \
|
|
|
|
lib/libxview/textsw/txt_e_menu.c
|
|
|
|
|
2006-09-22 16:03:41 +02:00
|
|
|
MAN1= xview.1
|
1995-04-25 06:48:02 +02:00
|
|
|
|
2004-03-05 13:20:58 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-06-19 08:56:25 +02:00
|
|
|
post-patch:
|
2003-12-14 00:38:21 +01:00
|
|
|
@${REINPLACE_CMD} -e 's+/usr/X11R6+${PREFIX}+;' \
|
|
|
|
${WRKSRC}/config/XView.cf
|
2006-10-07 12:28:40 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,CcCmd cc,CcCmd ${CC}," \
|
|
|
|
${WRKSRC}/config/XView.tmpl
|
2003-12-14 00:38:21 +01:00
|
|
|
@${REINPLACE_CMD} -e 's+/usr/X11/+${X11BASE}/+g;' \
|
|
|
|
${WRKSRC}/clients/olwm/screen.c
|
|
|
|
@${REINPLACE_CMD} -e 's+/usr/lib+${PREFIX}/lib+g;' \
|
|
|
|
${WRKSRC}/clients/olwmslave/help_file.c \
|
|
|
|
${WRKSRC}/lib/libxview/help/help_file.c \
|
|
|
|
${WRKSRC}/lib/libxview/misc/gettext.h \
|
|
|
|
${WRKSRC}/lib/libxview/textsw/txt_e_menu.c
|
2006-10-07 12:28:40 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,^MSG_UTIL,#MSG_UTIL," \
|
2006-09-22 16:03:41 +02:00
|
|
|
${WRKSRC}/util/Imakefile
|
2003-12-14 00:38:21 +01:00
|
|
|
|
|
|
|
pre-configure:
|
2003-06-19 08:56:25 +02:00
|
|
|
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
|
2003-12-14 00:38:21 +01:00
|
|
|
's|^#endif.*$$|#endif|;s|^#else.*$$|#else|;\
|
|
|
|
s|^/\*\*/#*|XCOMM |'
|
2006-12-28 19:24:06 +01:00
|
|
|
${REINPLACE_CMD} -e 's+/usr/X11R6+${X11BASE}+' \
|
|
|
|
${X11BASE2FIX:C|^|${WRKSRC}/|}
|
2003-12-14 00:38:21 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined{NOPORTDOCS}
|
2005-08-06 23:39:23 +02:00
|
|
|
@(cd ${WRKSRC}/doc; ${MAKE} install)
|
2003-06-19 08:56:25 +02:00
|
|
|
.endif
|
2006-10-07 12:28:40 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2003-06-19 08:56:25 +02:00
|
|
|
|
2004-03-05 13:20:58 +01:00
|
|
|
.include <bsd.port.post.mk>
|