diff options
author | marino <marino@FreeBSD.org> | 2016-09-11 05:38:21 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-09-11 05:38:21 +0800 |
commit | 25e960e2837580d90257d71d3127b2ef4135b5cc (patch) | |
tree | 8ebbf7b534a1356c2603b8c3712eca9304340bf1 /mail/tkrat2 | |
parent | 2565c705e6c605034b98cfd762476187f7ffec08 (diff) | |
download | freebsd-ports-gnome-25e960e2837580d90257d71d3127b2ef4135b5cc.tar.gz freebsd-ports-gnome-25e960e2837580d90257d71d3127b2ef4135b5cc.tar.zst freebsd-ports-gnome-25e960e2837580d90257d71d3127b2ef4135b5cc.zip |
mail/tkrat2: Properly support SSL requirement and clean up the port
Diffstat (limited to 'mail/tkrat2')
-rw-r--r-- | mail/tkrat2/Makefile | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/mail/tkrat2/Makefile b/mail/tkrat2/Makefile index 409ac4c9bccf..fd21dda05627 100644 --- a/mail/tkrat2/Makefile +++ b/mail/tkrat2/Makefile @@ -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> |