1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Add LICENSE

- Convert to new options framework
- Support STAGEDIR
- While I'm here, simplify Makefile

PR:		ports/189663
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-05-13 15:20:03 +00:00
parent 34d580b0c3
commit 3ffb96342b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353963

View File

@ -9,12 +9,15 @@ MASTER_SITES= http://www.enderunix.org/spamguard/
MAINTAINER= 5u623l20@gmail.com
COMMENT= MTA spam prevention program for qmail/postfix/sendmail
BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake
LICENSE= BSD3CLAUSE
USE_AUTOTOOLS= automake
PKGMESSAGE= ${WRKDIR}/pkg-message
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
DOCS= AUTHORS CHANGELOG COPYING INSTALL \
POST-INSTALL README THANKS README.DigitalUnix \
THANKS TODO UPGRADE
@ -23,17 +26,12 @@ DOCS_TR= BENIOKU BENIOKU.DigitalUnix COPYING DEGISIKLIKLER \
SUB_FILES= pkg-message
NO_STAGE= yes
pre-configure:
cd ${WRKSRC}; \
./autogen.sh
cd ${WRKSRC}; ./autogen.sh
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/tr
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
cd ${WRKSRC}/tr && ${INSTALL_DATA} ${DOCS_TR} ${DOCSDIR}/tr
.endif
@${CAT} ${PKGMESSAGE}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/tr
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/tr && ${INSTALL_DATA} ${DOCS_TR} ${STAGEDIR}${DOCSDIR}/tr
.include <bsd.port.mk>