- Improve options descriptions
- Switch to USES=localbase - Use options helpers
This commit is contained in:
parent
79005c27c2
commit
9995b6a4e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406806
1 changed files with 11 additions and 23 deletions
|
@ -16,17 +16,16 @@ RUN_DEPENDS= cabextract:${PORTSDIR}/archivers/cabextract \
|
|||
|
||||
OPTIONS_DEFINE= LIBSYNCE LIBDYNAMITE LIBUNSHIELD INNO VISE MSI
|
||||
OPTIONS_DEFAULT= LIBSYNCE LIBDYNAMITE LIBUNSHIELD
|
||||
LIBSYNCE_DESC= Build with libsynce support
|
||||
LIBDYNAMITE_DESC= Build with libdynamite support
|
||||
LIBUNSHIELD_DESC= Build with libunshield support
|
||||
INNO_DESC= Build with expermential Inno Setup support
|
||||
VISE_DESC= Build with expermential VISE support
|
||||
MSI_DESC= Build with expermential MSI support
|
||||
LIBSYNCE_DESC= WinCE communication support via libsynce
|
||||
LIBDYNAMITE_DESC= PKWARE data compression support via libdynamite
|
||||
LIBUNSHIELD_DESC= InstallShield support via libunshield
|
||||
INNO_DESC= Expermential Inno Setup support
|
||||
VISE_DESC= Expermential VISE support
|
||||
MSI_DESC= Expermential MSI support
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= iconv libtool pathfix pkgconfig
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -lgsf-1
|
||||
USES= iconv libtool localbase pathfix pkgconfig
|
||||
LIBS+= -lgsf-1
|
||||
USE_LDCONFIG= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
|
@ -34,12 +33,15 @@ CONFIGURE_ARGS+= --with-libgsf
|
|||
|
||||
LIBSYNCE_LIB_DEPENDS= libsynce.so:${PORTSDIR}/palm/synce-libsynce
|
||||
LIBSYNCE_CONFIGURE_WITH= libsynce
|
||||
LIBSYNCE_VARS= REQUIRES+=libsynce
|
||||
|
||||
LIBDYNAMITE_LIB_DEPENDS= libdynamite.so:${PORTSDIR}/archivers/libdynamite
|
||||
LIBDYNAMITE_CONFIGURE_WITH= libdynamite
|
||||
LIBDYNAMITE_VARS= REQUIRES+=libdynamite
|
||||
|
||||
LIBUNSHIELD_LIB_DEPENDS= libunshield.so:${PORTSDIR}/archivers/unshield
|
||||
LIBUNSHIELD_CONFIGURE_WITH= libunshield
|
||||
LIBUNSHIELD_VARS= REQUIRES+=libunshield
|
||||
|
||||
INNO_CONFIGURE_ENABLE= inno
|
||||
|
||||
|
@ -47,20 +49,6 @@ VISE_CONFIGURE_ENABLE= vise
|
|||
|
||||
MSI_CONFIGURE_ENABLE= msi
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MLIBSYNCE}
|
||||
REQUIRES+= libsynce
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MLIBDYNAMITE}
|
||||
REQUIRES+= libdynamite
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MLIBUNSHIELD}
|
||||
REQUIRES+= libunshield
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.for req in ${REQUIRES}
|
||||
@${REINPLACE_CMD} -e 's|${req}||' ${WRKSRC}/${PORTNAME}.pc.in
|
||||
|
|
Loading…
Reference in a new issue