diff options
author | Ollivier Robert <roberto@FreeBSD.org> | 2002-07-30 14:16:28 +0000 |
---|---|---|
committer | Ollivier Robert <roberto@FreeBSD.org> | 2002-07-30 14:16:28 +0000 |
commit | c49e45aafbfe06891040560a66c8c53176d7c5bd (patch) | |
tree | 543b941450d6c3c102b86dd5705c2d925ebc4bb3 /news/newspost/Makefile | |
parent | 9a35cb0bc6e3d3467cf941aabb2b7f57395dd243 (diff) | |
download | ports-c49e45aafbfe06891040560a66c8c53176d7c5bd.tar.gz ports-c49e45aafbfe06891040560a66c8c53176d7c5bd.zip |
Notes
Diffstat (limited to 'news/newspost/Makefile')
-rw-r--r-- | news/newspost/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/news/newspost/Makefile b/news/newspost/Makefile new file mode 100644 index 000000000000..faa0448b5026 --- /dev/null +++ b/news/newspost/Makefile @@ -0,0 +1,35 @@ +# ex:ts=8 +# Ports collection makefile for: newspost +# Date created: Tue Jul 23, 2002 +# Whom: Michael L. Hostbaek (mich@freebsdcluster.org) +# +# $FreeBSD$ +# + +PORTNAME= newspost +PORTVERSION= 2.0 +CATEGORIES= news +MASTER_SITES= http://newspost.unixcab.org/download/ + +MAINTAINER= mich@freebsdcluster.org + +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME} + +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e "s|^CC|#CC|g" \ + -e "s|^OPT_FLAGS|#OPT_FLAGS|g" ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/man/man1/newspost.1 ${PREFIX}/man/man1 + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README +.endif + +MAN1= newspost.1 + +.include <bsd.port.mk> |