pkgsrc/x11/xview-clients/Makefile

38 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.38 2012/11/18 01:51:04 joerg Exp $
DISTNAME= xview3.2p1-X11R6
PKGNAME= xview-clients-3.2.1
PKGREVISION= 4
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= OpenLook applications and man pages
MAKE_JOBS_SAFE= no
NOT_FOR_PLATFORM= *-*-alpha # it builds but everything segfaults...
LICENSE= sun-openlook-license
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
EXTRACT_ELEMENTS= ${DISTNAME}/clients ${DISTNAME}/images
WRKSRC= ${WRKDIR}/${DISTNAME}/clients
USE_IMAKE= yes
SUBST_CLASSES+= xvc
SUBST_STAGE.xvc= pre-configure
SUBST_MESSAGE.xvc= Fixing hard-coded paths.
SUBST_FILES.xvc= olwm/openwin-menu-programs
SUBST_SED.xvc= -e "s,@PREFIX@,${PREFIX},g"
SUBST_SED.xvc+= -e "s,@X11BASE@,${X11BASE},g"
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
MAKE_FLAGS+= CCOPTIONS=-Wno-error=return-type
.endif
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xview-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"