summaryrefslogtreecommitdiff
path: root/x11-toolkits/xview/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/xview/Makefile')
-rw-r--r--x11-toolkits/xview/Makefile30
1 files changed, 19 insertions, 11 deletions
diff --git a/x11-toolkits/xview/Makefile b/x11-toolkits/xview/Makefile
index 4ff07503adfd..097db537ee78 100644
--- a/x11-toolkits/xview/Makefile
+++ b/x11-toolkits/xview/Makefile
@@ -1,24 +1,32 @@
-# New ports collection makefile for: xview-config
-# Version required: 3.2p1-X11R6
-# Date created: 22 November 1994
-# Whom: ljo
+# New ports collection makefile for: XView
+# Version required: 3.2p1-X11R6
+# Date created: 22 November 1994
+# Whom: ljo (orig)
#
-# $Id: Makefile,v 1.9 1998/05/04 03:34:50 steve Exp $
+# $Id$
#
DISTNAME= xview3.2p1-X11R6
-PKGNAME= xview-config-3.2.1
+PKGNAME= xview-3.2.1
CATEGORIES= x11-toolkits
-MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITES= ${MASTER_SITE_LOCAL} \
+ ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= libraries
MAINTAINER= ports@FreeBSD.ORG
-WRKSRC= ${WRKDIR}/xview3.2p1-X11R6/config
USE_IMAKE= yes
+IMAKEINCLUDE= "-I${X11BASE}/lib/X11/config -I${WRKSRC}/config"
+MAKE_ENV+= IMAKEINCLUDE=${IMAKEINCLUDE}
+XMKMF= ${SETENV} IMAKEINCLUDE=${IMAKEINCLUDE} xmkmf -a
+ALL_TARGET= World
-post-extract:
- @chmod -R go+rX ${WRKDIR}
+MAN1= msgfmt.1 xgettext.1 xview.1
-do-build:
+post-install:
+.if !defined(NOPORTDOCS)
+ @(cd $(WRKSRC); $(MAKE) -k 'SUBDIRS=doc' install)
+.endif
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>