From c00596acc81757aa96004fc7c080100cbeb67093 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 7 Mar 2000 17:44:13 +0000 Subject: Break out common Makefile code between icewm and icewm-gnome into Makefile.common, and adapt icewm to use it instead. --- x11/icewm/Makefile | 34 ++-------------------------------- x11/icewm/Makefile.common | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 32 deletions(-) create mode 100644 x11/icewm/Makefile.common (limited to 'x11/icewm') diff --git a/x11/icewm/Makefile b/x11/icewm/Makefile index 18720ae4d41..562c53a8c4e 100644 --- a/x11/icewm/Makefile +++ b/x11/icewm/Makefile @@ -1,38 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2000/03/07 03:35:43 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2000/03/07 17:44:13 jlam Exp $ # -DISTNAME= icewm-1.0.2 -CATEGORIES= x11 -MASTER_SITES= http://download.sourceforge.net/icewm/ \ - ftp://ftp.fu-berlin.de/unix/X11/window-managers/icewm/ -EXTRACT_SUFX= .src.tar.gz - -MAINTAINER= wiz@netbsd.org -HOMEPAGE= http://icewm.sourceforge.net/ - DEPENDS+= xpm-3.4k:../../graphics/xpm CONFLICTS+= icewm-gnome-[0-9]* -GNU_CONFIGURE= YES -USE_X11BASE= YES - -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "NetBSD" -.if exists(/usr/include/machine/apmvar.h) -CPPFLAGS+= -DCONFIG_APM -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" -.endif -.endif - -post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/icewm -.for f in BUGS CHANGES COPYING FAQ README TODO doc/icewm.html - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/icewm -.endfor -.for f in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 - ${INSTALL_DATA} ${WRKSRC}/doc/icewm-${f}.html ${PREFIX}/share/doc/icewm -.endfor - -.include "../../mk/bsd.pkg.mk" +.include "../../x11/icewm/Makefile.common" diff --git a/x11/icewm/Makefile.common b/x11/icewm/Makefile.common new file mode 100644 index 00000000000..fc012e891be --- /dev/null +++ b/x11/icewm/Makefile.common @@ -0,0 +1,37 @@ +# $NetBSD: Makefile.common,v 1.1 2000/03/07 17:44:13 jlam Exp $ +# + +DISTNAME= icewm-1.0.2 +CATEGORIES= x11 +MASTER_SITES= http://download.sourceforge.net/icewm/ \ + ftp://ftp.fu-berlin.de/unix/X11/window-managers/icewm/ +EXTRACT_SUFX= .src.tar.gz + +MAINTAINER= wiz@netbsd.org +HOMEPAGE= http://icewm.sourceforge.net/ + +GNU_CONFIGURE= YES +USE_X11BASE= YES + +FILESDIR= ${.CURDIR}/../../x11/icewm/files +PATCHDIR= ${.CURDIR}/../../x11/icewm/patches + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +.if exists(/usr/include/machine/apmvar.h) +CPPFLAGS+= -DCONFIG_APM +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" +.endif +.endif + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/icewm +.for f in BUGS CHANGES COPYING FAQ README TODO doc/icewm.html + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/icewm +.endfor +.for f in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 + ${INSTALL_DATA} ${WRKSRC}/doc/icewm-${f}.html ${PREFIX}/share/doc/icewm +.endfor + +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3