1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Add staging support

This commit is contained in:
Pawel Pekala 2014-06-05 11:10:08 +00:00
parent 13dd12f2fe
commit 4046d351b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356626
2 changed files with 12 additions and 9 deletions

View File

@ -11,5 +11,4 @@ COMMENT= App-level proxy for Mail retrieval behind Firewalls
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -1,12 +1,12 @@
# $OpenBSD: patch-makefile,v 1.1.1.1 2000/01/03 02:22:43 kevlo Exp $
--- Makefile.orig Thu Jun 19 19:06:28 1997
+++ Makefile Wed Dec 29 12:25:33 1999
@@ -3,22 +3,23 @@
--- Makefile.orig 1997-06-19 11:06:28.000000000 +0200
+++ Makefile 2014-06-05 12:12:33.861436472 +0200
@@ -2,25 +2,26 @@
# -------------------
-CC=gcc
+#CC=gcc
-CFLAGS= -O2
+#CC=gcc
+CFLAGS+= -Wall
MODULES=main.o parse_cmd_line.o get_remote_data.o connect_login.o io.o relay_data.o
DOCS=README COPYING HISTORY
@ -27,7 +27,11 @@
install:
- make
- cp -f in.pop3gwd $(INSTALL_DIR)/
+ cp -f in.pop3gwd $(INSTALL_DIR)/pop3gwd
[ -d $(DOC_DIR) ] || mkdir $(DOC_DIR)
cp -f $(DOCS) $(DOC_DIR)
- [ -d $(DOC_DIR) ] || mkdir $(DOC_DIR)
- cp -f $(DOCS) $(DOC_DIR)
+ $(BSD_INSTALL_PROGRAM) in.pop3gwd $(DESTDIR)$(INSTALL_DIR)/pop3gwd
+ [ -d $(DOC_DIR) ] || mkdir $(DESTDIR)$(DOC_DIR)
+ $(BSD_INSTALL_DATA) $(DOCS) $(DESTDIR)$(DOC_DIR)
main.o: pop3-gw.h main.c
$(CC) $(CFLAGS) -c -o main.o main.c