aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-03-21 03:14:18 +0800
committervs <vs@FreeBSD.org>2005-03-21 03:14:18 +0800
commit1e9f75c6fc091443729a9b030628f20e1061d768 (patch)
tree52387815a5158bfc7e06352f7a660268f2f16cb5 /comms
parentcae5b8a702114e565ed3cd1a650ae4b149c44041 (diff)
downloadfreebsd-ports-gnome-1e9f75c6fc091443729a9b030628f20e1061d768.tar.gz
freebsd-ports-gnome-1e9f75c6fc091443729a9b030628f20e1061d768.tar.zst
freebsd-ports-gnome-1e9f75c6fc091443729a9b030628f20e1061d768.zip
Cleanup:
- Use PLIST_FILES - Avoid excessive Makefile-patching
Diffstat (limited to 'comms')
-rw-r--r--comms/snooper/Makefile12
-rw-r--r--comms/snooper/files/patch-ab20
-rw-r--r--comms/snooper/pkg-plist3
-rw-r--r--comms/zmtx-zmrx/Makefile1
-rw-r--r--comms/zmtx-zmrx/pkg-plist3
5 files changed, 4 insertions, 35 deletions
diff --git a/comms/snooper/Makefile b/comms/snooper/Makefile
index 57ba1f23e420..41be9564d568 100644
--- a/comms/snooper/Makefile
+++ b/comms/snooper/Makefile
@@ -18,14 +18,8 @@ COMMENT= Serial line protocol analyzer (need two serial interfaces)
WRKSRC= ${WRKDIR}/${PORTNAME}/build
GNU_CONFIGURE= yes
-
-post-extract:
- @${RM} -f ${WRKSRC}/.depend
-
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/snooper
- ${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/snooper
-.endif
+MAKE_ARGS= OPTFLAG=""
+PLIST_FILES= bin/snooper
+PORTDOCS= README
.include <bsd.port.mk>
diff --git a/comms/snooper/files/patch-ab b/comms/snooper/files/patch-ab
deleted file mode 100644
index 2686334d17b9..000000000000
--- a/comms/snooper/files/patch-ab
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.in.orig Wed Aug 12 23:31:56 1998
-+++ Makefile.in Thu Jan 18 02:54:00 2001
-@@ -2,7 +2,7 @@
- srcdir=@srcdir@/..
- CC= @CC@
- OPTFLAG=@OPTFLAG@
--CFLAGS= -c $(OPTFLAG) -I. -I$(srcdir)/include @CFLAGS@
-+CFLAGS= -c -I. -I$(srcdir)/include @CFLAGS@
- LDFLAGS=@LDFLAGS@
- INSTALL=@INSTALL@
-
-@@ -26,7 +26,7 @@
- uucplock.o: ../src/uucplock.c
-
- depend:
-- mkdep ${CFLAGS:M-[ID]*} $(srcdir)/src/*.c
-+# mkdep ${CFLAGS:M-[ID]*} $(srcdir)/src/*.c
-
- install:
- [ -d $(bindir) ] || (mkdir $(bindir))
diff --git a/comms/snooper/pkg-plist b/comms/snooper/pkg-plist
deleted file mode 100644
index dff01482eb7a..000000000000
--- a/comms/snooper/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/snooper
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/comms/zmtx-zmrx/Makefile b/comms/zmtx-zmrx/Makefile
index 9dddae9a0caf..6bb2a396e286 100644
--- a/comms/zmtx-zmrx/Makefile
+++ b/comms/zmtx-zmrx/Makefile
@@ -27,6 +27,7 @@ EXTRACT_AFTER_ARGS= |sh
NO_WRKSUBDIR= yes
MAKEFILE= makefile
MAN1= zmrx.1 zmtx.1
+PLIST_FILES= bin/zmrx bin/zmtx
do-install:
.for f in zmrx zmtx
diff --git a/comms/zmtx-zmrx/pkg-plist b/comms/zmtx-zmrx/pkg-plist
deleted file mode 100644
index cc3bcdc612d3..000000000000
--- a/comms/zmtx-zmrx/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $FreeBSD$
-bin/zmrx
-bin/zmtx