diff options
author | wg <wg@FreeBSD.org> | 2013-09-04 00:03:41 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-09-04 00:03:41 +0800 |
commit | 96302e818264113c1402b00fdb5e394b6672d484 (patch) | |
tree | 111cdd489d19fdb7c8a340006ca8851965bd0001 /mail/gmime2 | |
parent | 33c2a19acfba2b2a041e331eeaaf140a9243c77c (diff) | |
download | freebsd-ports-gnome-96302e818264113c1402b00fdb5e394b6672d484.tar.gz freebsd-ports-gnome-96302e818264113c1402b00fdb5e394b6672d484.tar.zst freebsd-ports-gnome-96302e818264113c1402b00fdb5e394b6672d484.zip |
mail/{gmime2,gmime24}: convert docs to options ng
- NOPORTDOCS -> PORT_OPTIONS:MDOCS [1]
- Convert to USES gmake
- Define DOCS option
PR: ports/181778 [1]
Submitted by: Alan Hicks <ahicks p-o.co.uk> (maintainer)
Diffstat (limited to 'mail/gmime2')
-rw-r--r-- | mail/gmime2/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/gmime2/Makefile b/mail/gmime2/Makefile index a62ffc0acc54..9eb1b57db2ec 100644 --- a/mail/gmime2/Makefile +++ b/mail/gmime2/Makefile @@ -16,9 +16,8 @@ CONFLICTS= gmime-1.0.* gmime-2.4.* SLAVEDIRS= mail/gmime2-sharp -USE_GMAKE= yes USE_GNOME?= glib20 -USES= pathfix pkgconfig iconv +USES= gmake pathfix pkgconfig iconv USE_LDCONFIG= yes GNU_CONFIGURE= yes # www.freebsd.org/cgi/query-pr.cgi?pr=118092 @@ -32,15 +31,19 @@ CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LATEST_LINK?= ${PORTNAME}2 +OPTIONS_DEFINE= DOCS + PORTDOCS= * +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e "s|stdint.h|inttypes.h|" ${WRKSRC}/zentimer.h @${REINPLACE_CMD} -e 's|-DG_DISABLE_DEPRECATED||g' \ ${WRKSRC}/gmime/Makefile.in post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for i in docs/reference/html/* ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} |