diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-04 08:24:35 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-04 08:24:35 +0800 |
commit | 6dc78950e0c80495bfd57af06cfff20ee2bbc55e (patch) | |
tree | 7783ff0f0257a62f380e3b38e870e71e9f194186 /lang/libhx | |
parent | d93a96c3cc6bac03a611ffb3c80f89ee09e58d63 (diff) | |
download | freebsd-ports-gnome-6dc78950e0c80495bfd57af06cfff20ee2bbc55e.tar.gz freebsd-ports-gnome-6dc78950e0c80495bfd57af06cfff20ee2bbc55e.tar.zst freebsd-ports-gnome-6dc78950e0c80495bfd57af06cfff20ee2bbc55e.zip |
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'lang/libhx')
-rw-r--r-- | lang/libhx/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lang/libhx/Makefile b/lang/libhx/Makefile index 6de4104f8ec6..35f62154fef6 100644 --- a/lang/libhx/Makefile +++ b/lang/libhx/Makefile @@ -18,14 +18,16 @@ GNU_CONFIGURE= yes USE_AUTOTOOLS= libtool CONFIGURE_ARGS+=--with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig -.if !defined(NOPORTDOCS) +OPTIONS_DEFINE= DOCS + PORTDOCS= * DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:tl} -.endif + +.include <bsd.port.options.mk> post-patch: ${REINPLACE_CMD} -e 's| -lrt||g' ${WRKSRC}/src/Makefile.in -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS) ${REINPLACE_CMD} -e 's|libHX_Documentation.pdf||' \ ${WRKSRC}/doc/Makefile.in ${WRKSRC}/doc/Makefile.am .endif |