aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-05-19 01:47:26 +0800
committervs <vs@FreeBSD.org>2005-05-19 01:47:26 +0800
commitbb4c1359ef8ba621dd18bc3a17c0b8d411feea79 (patch)
tree979372f82b75831ec2c7b74ada4a1407faf47280 /x11-wm
parent0b3dc17bb5f64a0aa0581dff5e3ce984dc674c3a (diff)
downloadfreebsd-ports-gnome-bb4c1359ef8ba621dd18bc3a17c0b8d411feea79.tar.gz
freebsd-ports-gnome-bb4c1359ef8ba621dd18bc3a17c0b8d411feea79.tar.zst
freebsd-ports-gnome-bb4c1359ef8ba621dd18bc3a17c0b8d411feea79.zip
Use MAKE_ARGS & PLIST-foo
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/novawm/Makefile10
-rw-r--r--x11-wm/novawm/files/patch-Makefile.in24
2 files changed, 9 insertions, 25 deletions
diff --git a/x11-wm/novawm/Makefile b/x11-wm/novawm/Makefile
index 824b286efd6d..4da322ad5589 100644
--- a/x11-wm/novawm/Makefile
+++ b/x11-wm/novawm/Makefile
@@ -21,12 +21,20 @@ USE_X_PREFIX= yes
USE_XPM= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+MAKE_ARGS= INCLUDES=-I${X11BASE}/include \
+ CXXFLAGS="${CXXFLAGS} -D_WIN_GNOME_SUPPORT" \
+ novawm_LDFLAGS=-L${X11BASE}/lib
+
+PLIST_FILES= bin/novawm
+.if !defined(NOPORTDOCS)
+PORTDOCS= AUTHORS ChangeLog INSTALL README TODO
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in AUTHORS ChangeLog INSTALL README TODO
+.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
diff --git a/x11-wm/novawm/files/patch-Makefile.in b/x11-wm/novawm/files/patch-Makefile.in
deleted file mode 100644
index a0cb47632bfe..000000000000
--- a/x11-wm/novawm/files/patch-Makefile.in
+++ /dev/null
@@ -1,24 +0,0 @@
---- src/Makefile.in.orig Sun Nov 24 13:12:57 2002
-+++ src/Makefile.in Sat Feb 8 02:02:46 2003
-@@ -73,10 +73,10 @@
- PACKAGE_PIXMAPS_DIR = @PACKAGE_PIXMAPS_DIR@
- VERSION = @VERSION@
-
--INCLUDES = -I/usr/X11R6/include
-+INCLUDES = -I${X11BASE}/include
-
-
--CXXFLAGS = -D_WIN_GNOME_SUPPORT -DDEBUG -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wtraditional -Wpointer-arith -Wmissing-prototypes -g
-+CXXFLAGS = @CXXFLAGS@ -D_WIN_GNOME_SUPPORT
-
-
- bin_PROGRAMS = novawm
-@@ -84,7 +84,7 @@
- novawm_SOURCES = main.cpp events.cpp menu.cpp novawm.h winmgr.cpp bar.cpp icon_close.xpm icon_hide.xpm icon_stretch.xpm cfg_parse.cpp
-
-
--novawm_LDFLAGS = -L/usr/X11R6/lib
-+novawm_LDFLAGS = -L${X11BASE}/lib
-
-
- novawm_LDADD = -lX11 -lXpm -lstdc++