- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
40 lines
934 B
Makefile
40 lines
934 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pgpmoose
|
|
PORTVERSION= 1.19
|
|
PORTREVISION= 1
|
|
CATEGORIES= news security
|
|
# Distribution broken
|
|
# MASTER_SITES= http://people.qualcomm.com/ggr/
|
|
MASTER_SITES= LOCAL/dinoex
|
|
DISTNAME= PGPMoose
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= PGP Moose - signatures for moderated newsgroups
|
|
|
|
NO_WRKSUBDIR= yes
|
|
USES= shebangfix
|
|
SHEBANG_FILES= pmcancel pmdaemon
|
|
BIN1= pmapp pmcanon pmcheck pmnewsgroups \
|
|
pmdaemon pmcancel
|
|
LMAN1= pmapp.1 pmcanon.1 pmcheck.1 pmnewsgroups.1 \
|
|
pmdaemon.1 pmcancel.1
|
|
|
|
NEWSCTL?= ${PREFIX}/news/lib
|
|
|
|
_SHEBANG_REINPLACE_ARGS+= -e "1s|^\#![[:space:]]*/bin/perl|\#!${perl_CMD}|"
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s=/usr/local/news=${NEWSCTL}=" \
|
|
${WRKSRC}/pmapp
|
|
|
|
do-install:
|
|
.for i in ${BIN1}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin/
|
|
.endfor
|
|
.for i in ${LMAN1}
|
|
${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/man/man1/
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|