diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-03-20 19:14:18 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-03-20 19:14:18 +0000 |
commit | d254587b0321555bad3ea2bcdfac3bb817b86b46 (patch) | |
tree | 5d7bafcf9a739035abe6b50436a77598bea6c41a /comms | |
parent | Missed a teensy detail there. (diff) |
Cleanup:
- Use PLIST_FILES
- Avoid excessive Makefile-patching
Notes
Notes:
svn path=/head/; revision=131775
Diffstat (limited to 'comms')
-rw-r--r-- | comms/snooper/Makefile | 12 | ||||
-rw-r--r-- | comms/snooper/files/patch-ab | 20 | ||||
-rw-r--r-- | comms/snooper/pkg-plist | 3 | ||||
-rw-r--r-- | comms/zmtx-zmrx/Makefile | 1 | ||||
-rw-r--r-- | comms/zmtx-zmrx/pkg-plist | 3 |
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 |