aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libesmtp
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-05 21:45:39 +0800
committermiwi <miwi@FreeBSD.org>2014-02-05 21:45:39 +0800
commit7e58ee470e4e91cc6a839a337a21db76cbc65ff0 (patch)
tree9fd8f3d259351b0293c2c2251beccb8764555320 /mail/libesmtp
parent703eb31de09525fc52a73f92ad959a1b95786edf (diff)
downloadfreebsd-ports-gnome-7e58ee470e4e91cc6a839a337a21db76cbc65ff0.tar.gz
freebsd-ports-gnome-7e58ee470e4e91cc6a839a337a21db76cbc65ff0.tar.zst
freebsd-ports-gnome-7e58ee470e4e91cc6a839a337a21db76cbc65ff0.zip
- Stage support
Diffstat (limited to 'mail/libesmtp')
-rw-r--r--mail/libesmtp/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile
index 316546013339..fa852d4c3679 100644
--- a/mail/libesmtp/Makefile
+++ b/mail/libesmtp/Makefile
@@ -18,7 +18,7 @@ OPTIONS_DEFINE= OPENSSL DEBUG DOCS EXAMPLES
OPTIONS_DEFAULT= OPENSSL
USE_BZIP2= yes
-USE_GMAKE= yes
+USES= gmake
USE_AUTOTOOLS= libtool
CONFIGURE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
@@ -29,7 +29,6 @@ USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENSSL}
@@ -45,15 +44,11 @@ CONFIGURE_ARGS+= --enable-debug
.endif
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in AUTHORS ChangeLog NEWS Notes README TODO
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>