mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
mail/tkrat2: Properly support SSL requirement and clean up the port
This commit is contained in:
parent
f352d8a683
commit
5ee99ed57e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421745
@ -17,6 +17,9 @@ LIB_DEPENDS= libtcl84.so:lang/tcl84 \
|
||||
libtk84.so:x11-toolkits/tk84 \
|
||||
libc-client4.so:mail/cclient
|
||||
|
||||
BROKEN_sparc64= fails to build
|
||||
|
||||
USES= ssl
|
||||
USE_XORG= x11 xt
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
@ -25,6 +28,7 @@ CONFIGURE_ARGS= --with-tcl-config=${PREFIX}/lib/tcl8.4 \
|
||||
--with-tk-config=${PREFIX}/lib/tk8.4 \
|
||||
--with-tcl-include=${PREFIX}/include/tcl8.4 \
|
||||
--with-tk-include=${PREFIX}/include/tk8.4 \
|
||||
--with-ssl-dir=${OPENSSLBASE} \
|
||||
--prefix=${PREFIX}
|
||||
MAKE_ARGS+= -j2 -B
|
||||
|
||||
@ -33,12 +37,6 @@ OPTIONS_DEFINE= DOCS
|
||||
DOCFILES= CONFIGURATION COPYRIGHT README doc/interface doc/userprocs \
|
||||
doc/userproc.example
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
BROKEN= Build fails on sparc64
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} '-e s|@INSTALL_PREFIX@|${STAGEDIR}${PREFIX}|g' \
|
||||
${WRKSRC}/lib/Makefile.in ${WRKSRC}/util/Makefile.in \
|
||||
@ -51,17 +49,22 @@ post-patch:
|
||||
${WRKSRC}/misc/Makefile.in
|
||||
@${REINPLACE_CMD} '-e s|@bindir@|/bin|g' ${WRKSRC}/tkrat/Makefile.in
|
||||
@${REINPLACE_CMD} '-e s|@mandir@|/man|g' ${WRKSRC}/doc/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|/usr/include/openssl|$$(SSLDIR)|g' \
|
||||
${WRKSRC}/imap/src/osdep/unix/Makefile
|
||||
@${REINPLACE_CMD} -e 's|SSLDIR=/usr SSLINCLUDE=/usr/include/openssl|SSLDIR=${OPENSSLBASE} SSLINCLUDE=${OPENSSLINC}|g' \
|
||||
${WRKSRC}/imap/Makefile
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in ${DOCFILES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ratatosk
|
||||
${INSTALL_DATA} ${FILESDIR}/ratatoskrc ${STAGEDIR}${PREFIX}/lib/ratatosk
|
||||
${INSTALL_DATA} ${FILESDIR}/ratatoskrc \
|
||||
${STAGEDIR}${PREFIX}/lib/ratatosk
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tkrat/ratatosk2.1.so
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tkrat/blt_busy1.0.so
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user