mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
textproc/iksemel: Optional USES=makeinfo
- Add new option INFO - Utilize USES=makeinfo only when used specially for INFO only in this case. - Utilize USES=localbase - Pet portclippy
This commit is contained in:
parent
bddac0b8ed
commit
fe70968d80
@ -11,27 +11,33 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libgnutls.so:security/gnutls
|
||||
|
||||
USES= autoreconf libtool makeinfo pathfix pkgconfig
|
||||
|
||||
USES= autoreconf libtool localbase:ldflags pathfix pkgconfig
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= meduketto
|
||||
GH_TAGNAME= 978b733
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=--with-gnutls=yes \
|
||||
--without-openssl \
|
||||
--disable-python
|
||||
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
INFO= iksemel
|
||||
CPPFLAGS+= ${CXXFLAGS}
|
||||
|
||||
post-patch:
|
||||
OPTIONS_DEFINE= INFO
|
||||
OPTIONS_DEFAULT= INFO
|
||||
|
||||
INFO_USES= makeinfo
|
||||
INFO_INFO= iksemel
|
||||
|
||||
post-patch-INFO-on:
|
||||
@${REINPLACE_CMD} -e 's|@setfilename iksemel|@setfilename iksemel.info|' \
|
||||
${WRKSRC}/doc/iksemel.texi
|
||||
|
||||
post-patch-INFO-off:
|
||||
@${REINPLACE_CMD} -e '/SUBDIRS/s|doc||' \
|
||||
${WRKSRC}/Makefile.am
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user