aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2005-04-09 08:30:21 +0800
committerleeym <leeym@FreeBSD.org>2005-04-09 08:30:21 +0800
commit8db91b0ed20717359cf7f5879949cb09297f76c4 (patch)
treefc385b792c02434df8b9a5d7df4f1f7de886c2ad
parent1996981307de27bc30c2dfee7f8c24a7ca674ad9 (diff)
downloadfreebsd-ports-gnome-8db91b0ed20717359cf7f5879949cb09297f76c4.tar.gz
freebsd-ports-gnome-8db91b0ed20717359cf7f5879949cb09297f76c4.tar.zst
freebsd-ports-gnome-8db91b0ed20717359cf7f5879949cb09297f76c4.zip
- remove .depend to unbreak this port
- wrap DOCSDIR with NOPORTDOCS
-rw-r--r--comms/snooper/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/comms/snooper/Makefile b/comms/snooper/Makefile
index 41be9564d568..d4e8d0963251 100644
--- a/comms/snooper/Makefile
+++ b/comms/snooper/Makefile
@@ -20,6 +20,18 @@ WRKSRC= ${WRKDIR}/${PORTNAME}/build
GNU_CONFIGURE= yes
MAKE_ARGS= OPTFLAG=""
PLIST_FILES= bin/snooper
+
+.if !defined(NOPORTDOCS)
PORTDOCS= README
+.endif
+
+post-extract:
+ @${RM} -f ${WRKSRC}/.depend
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/../README ${DOCSDIR}
+.endif
.include <bsd.port.mk>