aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/wmpop3/Makefile2
-rw-r--r--mail/wmpop3/files/patch-aa8
-rw-r--r--mail/wmpop3/pkg-plist4
3 files changed, 7 insertions, 7 deletions
diff --git a/mail/wmpop3/Makefile b/mail/wmpop3/Makefile
index 0fecafd4a243..aed0cd1edc75 100644
--- a/mail/wmpop3/Makefile
+++ b/mail/wmpop3/Makefile
@@ -29,7 +29,7 @@ do-install:
@${ECHO} "===> Installing README in ${PREFIX}/share/doc/wmpop3"
@${ECHO} "===> Please read it for usage instructions"
@${MKDIR} ${PREFIX}/share/doc/wmpop3
- ${INSTALL_DATA} ${WRKDIR}/${PKGNAME}/README ${PREFIX}/share/doc/wmpop3
+ @${INSTALL_DATA} ${WRKDIR}/${PKGNAME}/README ${PREFIX}/share/doc/wmpop3
.endif
.include <bsd.port.mk>
diff --git a/mail/wmpop3/files/patch-aa b/mail/wmpop3/files/patch-aa
index c6ea75d7d6dc..9fa92fb40294 100644
--- a/mail/wmpop3/files/patch-aa
+++ b/mail/wmpop3/files/patch-aa
@@ -2,10 +2,10 @@
+++ Makefile Sat Jun 19 16:30:16 1999
@@ -1,6 +1,6 @@
-LIBDIR = -L/usr/X11R6/lib
-+LIBDIR = -L${X11BASE}/lib
++LIBDIR = -L$(PREFIX)/lib
LIBS = -lXpm -lXext -lX11
-FLAGS = -O2
-+CFLAGS ?= -O2
++CFLAGS += -Wall
OBJS = wmpop3.o \
Pop3Client.o \
../wmgeneral/wmgeneral.o \
@@ -14,11 +14,11 @@
.c.o:
- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
-+ ${CC} -I${X11BASE}/include $(CFLAGS) -c $< -o $@
++ $(CC) -I$(PREFIX)/include $(CFLAGS) -c $< -o $@
wmpop3: $(OBJS)
- cc $(FLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS)
-+ ${CC} $(CFLAGS) -o wmpop3 $(OBJS) -lXext $(LIBDIR) $(LIBS)
++ $(CC) $(CFLAGS) -o wmpop3 $(OBJS) -lXext $(LIBDIR) $(LIBS)
all:: wmpop3
diff --git a/mail/wmpop3/pkg-plist b/mail/wmpop3/pkg-plist
index 993b019091e2..891ec78f790a 100644
--- a/mail/wmpop3/pkg-plist
+++ b/mail/wmpop3/pkg-plist
@@ -1,5 +1,5 @@
bin/wmpop3
-share/doc/wmpop3/README
+%%PORTDOCS%%share/doc/wmpop3/README
share/examples/wmpop3/wmpop3rc
-@dirrm share/doc/wmpop3
+%%PORTDOCS%%@dirrm share/doc/wmpop3
@dirrm share/examples/wmpop3