Add optional CONFIGURE_ARGS to compile on 2.2.8 system.

Install documentations.

Submitted by:	Dirk Meyer <dirk.meyer@dinoex.sub.org>
Reviewed and modified by:	maintainer
This commit is contained in:
Jun Kuriyama 1999-04-17 04:51:20 +00:00
parent 8787233757
commit 567722cfa6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=17945
4 changed files with 70 additions and 12 deletions

View File

@ -3,7 +3,7 @@
# Date created: Sep 30, 1998
# Whom: kuriyama@FreeBSD.ORG
#
# $Id: Makefile,v 1.7 1999/03/14 03:12:10 kuriyama Exp $
# $Id: Makefile,v 1.8 1999/03/21 07:44:48 kuriyama Exp $
#
DISTNAME= gnupg-0.9.5
@ -14,19 +14,32 @@ MASTER_SITES= ftp://ftp.guug.de/pub/gcrypt/ \
MAINTAINER= kuriyama@FreeBSD.ORG
#BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake
RESTRICTED= "Crypto; export-controlled"
#USE_AUTOCONF= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-included-gettext
MAN1= gpg.1
MLINKS= gpg.1 gpgm.1
#post-install:
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300000
CONFIGURE_ARGS+=--disable-asm
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/gnupg
.for i in DETAILS FAQ HACKING OpenPGP
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/gnupg
.endfor
.for i in ABOUT-NLS AUTHORS BUGS COPYING INSTALL NEWS PROJECTS \
README THANKS TODO VERSION
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/gnupg
.endfor
.endif
# chmod u+s ${PREFIX}/bin/gpg
check:
(cd ${WRKSRC}; ${MAKE} check)
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -22,3 +22,19 @@ share/locale/pt_BR/LC_MESSAGES/gnupg.mo
share/locale/ru/LC_MESSAGES/gnupg.mo
@dirrm share/locale/ru/LC_MESSAGES
@dirrm share/locale/ru
share/doc/gnupg/README
share/doc/gnupg/DETAILS
share/doc/gnupg/FAQ
share/doc/gnupg/HACKING
share/doc/gnupg/OpenPGP
share/doc/gnupg/ABOUT-NLS
share/doc/gnupg/AUTHORS
share/doc/gnupg/BUGS
share/doc/gnupg/COPYING
share/doc/gnupg/INSTALL
share/doc/gnupg/NEWS
share/doc/gnupg/PROJECTS
share/doc/gnupg/THANKS
share/doc/gnupg/TODO
share/doc/gnupg/VERSION
@dirrm share/doc/gnupg

View File

@ -3,7 +3,7 @@
# Date created: Sep 30, 1998
# Whom: kuriyama@FreeBSD.ORG
#
# $Id: Makefile,v 1.7 1999/03/14 03:12:10 kuriyama Exp $
# $Id: Makefile,v 1.8 1999/03/21 07:44:48 kuriyama Exp $
#
DISTNAME= gnupg-0.9.5
@ -14,19 +14,32 @@ MASTER_SITES= ftp://ftp.guug.de/pub/gcrypt/ \
MAINTAINER= kuriyama@FreeBSD.ORG
#BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake
RESTRICTED= "Crypto; export-controlled"
#USE_AUTOCONF= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-included-gettext
MAN1= gpg.1
MLINKS= gpg.1 gpgm.1
#post-install:
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300000
CONFIGURE_ARGS+=--disable-asm
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/gnupg
.for i in DETAILS FAQ HACKING OpenPGP
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/gnupg
.endfor
.for i in ABOUT-NLS AUTHORS BUGS COPYING INSTALL NEWS PROJECTS \
README THANKS TODO VERSION
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/gnupg
.endfor
.endif
# chmod u+s ${PREFIX}/bin/gpg
check:
(cd ${WRKSRC}; ${MAKE} check)
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -22,3 +22,19 @@ share/locale/pt_BR/LC_MESSAGES/gnupg.mo
share/locale/ru/LC_MESSAGES/gnupg.mo
@dirrm share/locale/ru/LC_MESSAGES
@dirrm share/locale/ru
share/doc/gnupg/README
share/doc/gnupg/DETAILS
share/doc/gnupg/FAQ
share/doc/gnupg/HACKING
share/doc/gnupg/OpenPGP
share/doc/gnupg/ABOUT-NLS
share/doc/gnupg/AUTHORS
share/doc/gnupg/BUGS
share/doc/gnupg/COPYING
share/doc/gnupg/INSTALL
share/doc/gnupg/NEWS
share/doc/gnupg/PROJECTS
share/doc/gnupg/THANKS
share/doc/gnupg/TODO
share/doc/gnupg/VERSION
@dirrm share/doc/gnupg