mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
c49e45aafb
an all-in-one posting solution. In addition to posting files, it can post text prefixes, and generate and post .SFV files and .PAR volumes. WWW: http://newspost.unixcab.org/ AUTHOR: Jim Faulkner <newspost@unixcab.org> PR: ports/40916 Submitted by: Michael L. Hostbaek (mich@freebsdcluster.org)
36 lines
827 B
Makefile
36 lines
827 B
Makefile
# 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>
|