diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 2000-08-09 16:46:48 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 2000-08-09 16:46:48 +0000 |
commit | 2cb1e9189c73bc740e61054b8449ade30d11eef7 (patch) | |
tree | f781f76dd25962d815a9ee2d10152fa464060b46 /astro/wmsun | |
parent | e6119b936bd4f045bed538ccb940c3ec0ce08932 (diff) | |
download | ports-2cb1e9189c73bc740e61054b8449ade30d11eef7.tar.gz ports-2cb1e9189c73bc740e61054b8449ade30d11eef7.zip |
Notes
Diffstat (limited to 'astro/wmsun')
-rw-r--r-- | astro/wmsun/Makefile | 5 | ||||
-rw-r--r-- | astro/wmsun/files/patch-aa | 43 |
2 files changed, 36 insertions, 12 deletions
diff --git a/astro/wmsun/Makefile b/astro/wmsun/Makefile index d43a364e6cd7..32f1cc600469 100644 --- a/astro/wmsun/Makefile +++ b/astro/wmsun/Makefile @@ -14,15 +14,10 @@ MAINTAINER= ports@FreeBSD.org WRKSRC= ${WRKDIR}/${DISTNAME}/wmSun -USE_GMAKE= yes USE_X_PREFIX= yes USE_XPM= yes ALL_TARGET= clean all MAN1= wmSun.1 -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/wmSun ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/wmSun.1 ${PREFIX}/man/man1 - .include <bsd.port.mk> diff --git a/astro/wmsun/files/patch-aa b/astro/wmsun/files/patch-aa index c793620fd68f..3969d920e8f1 100644 --- a/astro/wmsun/files/patch-aa +++ b/astro/wmsun/files/patch-aa @@ -1,13 +1,42 @@ ---- Makefile.orig Fri Apr 16 15:27:34 1999 -+++ Makefile Fri Apr 16 15:27:56 1999 -@@ -1,6 +1,7 @@ +--- Makefile.orig Wed Jan 6 11:28:39 1999 ++++ Makefile Thu Aug 3 21:28:34 2000 +@@ -1,8 +1,8 @@ -CC = gcc -CFLAGS = -O2 -Wall -INCDIR = -I/usr/X11R6/include/X11 +-DESTDIR= /usr/X11R6 +-LIBDIR = -L/usr/X11R6/lib +CC ?= gcc +CFLAGS ?= -O2 -+CFLAGS += -Wall -+INCDIR = -I/usr/X11R6/include - DESTDIR= /usr/X11R6 - LIBDIR = -L/usr/X11R6/lib ++INCDIR = -I${X11BASE}/include ++DESTDIR= ${PREFIX} ++LIBDIR = -L${X11BASE}/lib + + + +@@ -22,14 +22,14 @@ + + + .c.o: +- $(CC) $(COPTS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR) ++ $(CC) $(CFLAGS) -D$(OPSYS) -c $< -o $@ $(INCDIR) + + + all: wmSun.o wmSun + + wmSun.o: wmSun_master.xpm wmSun_mask.xbm + wmSun: $(OBJS) +- $(CC) $(COPTS) $(SYSTEM) -lm -o wmSun $^ $(INCDIR) $(LIBDIR) $(LIBS) ++ $(CC) $(CFLAGS) $(SYSTEM) -lm -o wmSun $(OBJS) $(LIBDIR) $(LIBS) + + clean: + for i in $(OBJS) ; do \ +@@ -38,6 +38,6 @@ + rm -f wmSun + + install:: wmSun +- install -s -m 0755 wmSun $(DESTDIR)/bin +- install -m 0644 wmSun.1 $(DESTDIR)/man/man1 ++ ${BSD_INSTALL_PROGRAM} wmSun $(DESTDIR)/bin ++ ${BSD_INSTALL_MAN} wmSun.1 $(DESTDIR)/man/man1 |