1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- add CONFLICTS

- cleanup
- use DOCSDIR

Submitted by:	eikemeier@fillmore-labs.com [CONFLICTS]
This commit is contained in:
Dirk Meyer 2003-10-12 11:14:52 +00:00
parent 83ef125f35
commit 67b6c0aaf9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90906
4 changed files with 14 additions and 13 deletions

View File

@ -35,8 +35,10 @@ COMMENT= SSL and crypto library
.error You have `USE_OPENSSL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif
CONFLICTS?= openssl-0.*
MAKE_ENV+= MANPREFIX=${MANPREFIX}
NOPRECIOUSMAKEVARS= Too many _MLINKS for fetch
NO_LATEST_LINK= yes
NO_LATEST_LINK= yes
USE_PERL5_BUILD= yes
OPENSSL_SHLIBVER?= 4
CFLAGS+= -Wl,-rpath,${LOCALBASE}/lib
@ -861,8 +863,6 @@ PLIST_SUB+= MANDIR="@comment "
PLIST_SUB+= NOBASE=""
.endif
MAKE_ENV+= MANPREFIX=${MANPREFIX}
.if defined(BATCH) || defined(OPENSSL_WITH_386)
.if ${MACHINE_ARCH} == "i386"
EXTRACONFIGURE= 386

View File

@ -80,7 +80,7 @@ lib/pkgconfig/openssl.pc
%%NOBASE%%openssl/misc/c_name
%%NOBASE%%openssl/misc/der_chop
%%NOBASE%%openssl/openssl.cnf.sample
%%PORTDOCS%%share/doc/openssl/openssl.txt
%%PORTDOCS%%%%DOCSDIR%%/openssl.txt
@dirrm include/openssl
@dirrm lib/pkgconfig
%%NOBASE%%@dirrm openssl/certs
@ -93,4 +93,4 @@ lib/pkgconfig/openssl.pc
%%NOBASE%%@dirrm openssl/misc
%%NOBASE%%@dirrm openssl/private
%%NOBASE%%@dirrm openssl
%%PORTDOCS%%@dirrm share/doc/openssl
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View File

@ -20,10 +20,11 @@ COMMENT= SSL and crypto library
.error You have `USE_OPENSSL' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif
MAKE_ENV+= MANPREFIX=${MANPREFIX}
CONFLICTS?= openssl-beta-0.*
MAKE_ENV+= MANPREFIX=${MANPREFIX}
NOPRECIOUSMAKEVARS= Too many _MLINKS for fetch
USE_PERL5_BUILD= yes
OPENSSH_SHLIBVER?= 3
OPENSSL_SHLIBVER?= 3
CFLAGS+= -Wl,-rpath,${LOCALBASE}/lib
MAN1= CA.pl.1 asn1parse.1 ca.1 ciphers.1 crl.1 crl2pkcs7.1 dgst.1 dhparam.1 \
@ -827,8 +828,8 @@ PLIST_SUB+= SHARED="@comment "
.else
PLIST_SUB+= SHARED=""
ALL_TARGET= freebsd-shared all
MAKE_ENV+= SHLIBVER=${OPENSSH_SHLIBVER}
PLIST_SUB+= SHLIBVER=${OPENSSH_SHLIBVER}
MAKE_ENV+= SHLIBVER=${OPENSSL_SHLIBVER}
PLIST_SUB+= SHLIBVER=${OPENSSL_SHLIBVER}
INSTALLS_SHLIB= yes
.endif
@ -862,8 +863,8 @@ do-configure:
post-install:
.if !defined(NOSHARED)
.for i in libcrypto libssl
@${INSTALL_DATA} ${WRKSRC}/$i.so.${OPENSSH_SHLIBVER} ${PREFIX}/lib
@${LN} -sf $i.so.${OPENSSH_SHLIBVER} ${PREFIX}/lib/$i.so
@${INSTALL_DATA} ${WRKSRC}/$i.so.${OPENSSL_SHLIBVER} ${PREFIX}/lib
@${LN} -sf $i.so.${OPENSSL_SHLIBVER} ${PREFIX}/lib/$i.so
.endfor
.endif
.if !defined(NOPORTDOCS)

View File

@ -80,7 +80,7 @@ lib/pkgconfig/openssl.pc
%%NOBASE%%openssl/misc/c_name
%%NOBASE%%openssl/misc/der_chop
%%NOBASE%%openssl/openssl.cnf.sample
%%PORTDOCS%%share/doc/openssl/openssl.txt
%%PORTDOCS%%%%DOCSDIR%%/openssl.txt
@dirrm include/openssl
@dirrm lib/pkgconfig
%%NOBASE%%@dirrm openssl/certs
@ -93,4 +93,4 @@ lib/pkgconfig/openssl.pc
%%NOBASE%%@dirrm openssl/misc
%%NOBASE%%@dirrm openssl/private
%%NOBASE%%@dirrm openssl
%%PORTDOCS%%@dirrm share/doc/openssl
%%PORTDOCS%%@dirrm %%DOCSDIR%%