2011-02-28 15:52:37 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2011/02/28 14:53:06 wiz Exp $
|
2000-12-12 03:03:46 +01:00
|
|
|
|
|
|
|
DISTNAME= fvwm-1.24r
|
|
|
|
PKGNAME= ${DISTNAME:S/fvwm/fvwm1/}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2000-12-12 03:03:46 +01:00
|
|
|
CATEGORIES= x11 wm
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
|
2011-02-28 15:52:37 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-12-15 03:20:24 +01:00
|
|
|
HOMEPAGE= http://www.fvwm.org/
|
2001-02-17 18:21:28 +01:00
|
|
|
COMMENT= Virtual window manager for X
|
2009-05-19 10:59:00 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2000-12-12 03:03:46 +01:00
|
|
|
|
2009-07-07 21:41:54 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
DEPENDS+= xpmroot-2.*:../../x11/xpmroot
|
2000-12-12 03:03:46 +01:00
|
|
|
|
2002-06-17 11:28:59 +02:00
|
|
|
CONFLICTS= fvwm2-* fvwm>=1
|
2000-12-12 03:03:46 +01:00
|
|
|
|
|
|
|
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
|
|
|
|
|
2001-10-14 15:47:17 +02:00
|
|
|
USE_IMAKE= YES
|
2000-12-12 03:03:46 +01:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC}/modules; \
|
|
|
|
for FILE in Fvwm*/Imakefile; do \
|
|
|
|
${MV} $${FILE} $${FILE}.orig; \
|
|
|
|
${SED} -e 's/ComplexProgramTarget/ComplexProgramTargetNoMan/' \
|
|
|
|
-e 's@#ifdef AlphaArchitecture@#if defined(AlphaArchitecture) \&\& !defined(NetBSDArchitecture)@' \
|
|
|
|
<$${FILE}.orig >$${FILE}; \
|
|
|
|
done
|
|
|
|
${MV} ${WRKSRC}/modules/GoodStuff/Imakefile ${WRKSRC}/modules/GoodStuff/Imakefile.orig
|
|
|
|
${SED} -e 's@#ifdef AlphaArchitecture@#if defined(AlphaArchitecture) \&\& !defined(NetBSDArchitecture)@' \
|
|
|
|
<${WRKSRC}/modules/GoodStuff/Imakefile.orig >${WRKSRC}/modules/GoodStuff/Imakefile
|
|
|
|
|
2001-10-14 15:47:17 +02:00
|
|
|
post-patch:
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
${MV} configure.h configure.h.old; \
|
|
|
|
${SED} -e 's#$${PREFIX}#${PREFIX}#g' \
|
|
|
|
-e 's#$${X11BASE}#${X11BASE}#g' configure.h.old >configure.h
|
|
|
|
|
2009-07-07 21:41:54 +02:00
|
|
|
INSTALLATION_DIRS= lib/X11/fvwm/pixmaps lib/X11/fvwm/bitmaps
|
|
|
|
|
2000-12-12 03:03:46 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/fvwm_icons/*.xpm \
|
2009-07-07 21:41:54 +02:00
|
|
|
${DESTDIR}${PREFIX}/lib/X11/fvwm/pixmaps
|
2000-12-12 03:03:46 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/fvwm_icons/*.xbm \
|
2001-10-14 15:47:17 +02:00
|
|
|
${WRKSRC}/fvwm_icons/*.bitmap ${WRKSRC}/fvwm_icons/*.icon \
|
2009-07-07 21:41:54 +02:00
|
|
|
${DESTDIR}${PREFIX}/lib/X11/fvwm/bitmaps
|
2000-12-12 03:03:46 +01:00
|
|
|
|
2006-12-27 14:37:35 +01:00
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
|
|
.include "../../x11/xbitmaps/buildlink3.mk"
|
|
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
2000-12-12 03:03:46 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|