diff options
author | vs <vs@FreeBSD.org> | 2005-05-24 00:28:01 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-05-24 00:28:01 +0800 |
commit | 802bdfc5a83ae87b9cf656ff3610d2655e5ea4aa (patch) | |
tree | 240db25bf752654bb6241e3084895c592d65d9e4 /misc/wmwork | |
parent | 1669927180a8d80144d2dc844cbf2330f2373ad6 (diff) | |
download | freebsd-ports-gnome-802bdfc5a83ae87b9cf656ff3610d2655e5ea4aa.tar.gz freebsd-ports-gnome-802bdfc5a83ae87b9cf656ff3610d2655e5ea4aa.tar.zst freebsd-ports-gnome-802bdfc5a83ae87b9cf656ff3610d2655e5ea4aa.zip |
Use explicit do-install-target
Diffstat (limited to 'misc/wmwork')
-rw-r--r-- | misc/wmwork/Makefile | 8 | ||||
-rw-r--r-- | misc/wmwork/files/patch-Makefile.in | 26 |
2 files changed, 6 insertions, 28 deletions
diff --git a/misc/wmwork/Makefile b/misc/wmwork/Makefile index b50cbf3c4d1e..f5b0addc689c 100644 --- a/misc/wmwork/Makefile +++ b/misc/wmwork/Makefile @@ -22,12 +22,16 @@ USE_GETOPT_LONG= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" MAN1= wmwork.1 PLIST_FILES= bin/wmwork -CPPFLAGS= -I${X11BASE}/include +CFLAGS+= -I${X11BASE}/include -I${LOCALBASE}/include LDFLAGS= -L${X11BASE}/lib +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/wmwork ${PREFIX}/bin/wmwork + @${INSTALL_MAN} ${WRKSRC}/wmwork.1 ${MANPREFIX}/man/man1/ + .include <bsd.port.mk> diff --git a/misc/wmwork/files/patch-Makefile.in b/misc/wmwork/files/patch-Makefile.in deleted file mode 100644 index a889238472ad..000000000000 --- a/misc/wmwork/files/patch-Makefile.in +++ /dev/null @@ -1,26 +0,0 @@ ---- Makefile.in.orig Fri May 2 10:29:14 2003 -+++ Makefile.in Fri May 2 10:29:51 2003 -@@ -9,9 +9,11 @@ - - CC = @CC@ - CFLAGS = -I. @CFLAGS@ -+CPPFLAGS = @CPPFLAGS@ - LDFLAGS = @LDFLAGS@ - LIBS = @LIBS@ --INSTALL = @INSTALL@ -+INSTALL_PROGRAM = @INSTALL_PROGRAM@ -+INSTALL_DATA = @INSTALL_DATA@ - - all: wmwork - -@@ -22,8 +24,8 @@ - wmgeneral.o: wmgeneral.c wmgeneral.h - - install: wmwork wmwork.1 -- $(INSTALL) -D -m 755 wmwork $(DESTDIR)$(bindir)/wmwork -- $(INSTALL) -D -m 644 wmwork.1 $(DESTDIR)$(mandir)/man1/wmwork.1 -+ $(INSTALL_PROGRAM) wmwork $(DESTDIR)$(bindir)/wmwork -+ $(INSTALL_DATA) wmwork.1 $(DESTDIR)$(mandir)/man1/wmwork.1 - - uninstall: - rm -f $(DESTDIR)$(bindir)/wmwork |