mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
- Strip shared library [1]
- Convert 'USE_BZIP2' to 'USES=tar.bzip2' [1] - Make ${PORTDOCS} always install [1] - Use options subs, helpers - Define perl path in CONFIGURE_ENV so that port sets correct shebangs PR: ports/187828 [1] Submitted by: maintainer
This commit is contained in:
parent
c4d156427a
commit
2685843a93
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348805
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= eb
|
PORTNAME= eb
|
||||||
PORTVERSION= 4.4.3
|
PORTVERSION= 4.4.3
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= japanese
|
CATEGORIES= japanese
|
||||||
MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/eb/ \
|
MASTER_SITES= ftp://ftp.sra.co.jp/pub/misc/eb/ \
|
||||||
ftp://ftp.sra.co.jp/pub/misc/eb/old/eb-${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/}/
|
ftp://ftp.sra.co.jp/pub/misc/eb/old/eb-${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/}/
|
||||||
@ -64,30 +64,24 @@ PORTDOCS= eb-01.html eb-02.html eb-03.html eb-04.html eb-05.html eb-06.html \
|
|||||||
ebzip-08.html ebzip-09.html ebzip-10.html ebzip.html
|
ebzip-08.html ebzip-09.html ebzip-10.html ebzip.html
|
||||||
|
|
||||||
USE_AUTOTOOLS= libtool
|
USE_AUTOTOOLS= libtool
|
||||||
USE_BZIP2= yes
|
USES= perl5 tar:bzip2
|
||||||
USES= perl5
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
CONFIGURE_ARGS= --with-pkgdocdir=${DOCSDIR}
|
CONFIGURE_ARGS= --with-pkgdocdir=${DOCSDIR}
|
||||||
|
CONFIGURE_ENV= ac_cv_path_PERL=${PERL}
|
||||||
|
|
||||||
OPTIONS_DEFINE= DOCS NLS
|
OPTIONS_DEFINE= DOCS NLS
|
||||||
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
APPENDIXDIR= ${DATADIR}/appendix
|
APPENDIXDIR= ${DATADIR}/appendix
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
NLS_USES= gettext iconv
|
||||||
|
NLS_CONFIGURE_ENABLE= nls
|
||||||
.if ${PORT_OPTIONS:MNLS}
|
NLS_CONFIGURE_ON= \
|
||||||
USES+= gettext iconv
|
|
||||||
CONFIGURE_ARGS+= --enable-nls \
|
|
||||||
--with-gettext-includes=${LOCALBASE}/include \
|
--with-gettext-includes=${LOCALBASE}/include \
|
||||||
--with-gettext-libraries=${LOCALBASE}/lib \
|
--with-gettext-libraries=${LOCALBASE}/lib \
|
||||||
--with-iconv-includes=${ICONV_PREFIX}/include \
|
--with-iconv-includes=${ICONV_PREFIX}/include \
|
||||||
--with-iconv-libraries=${ICONV_PREFIX}/lib
|
--with-iconv-libraries=${ICONV_PREFIX}/lib
|
||||||
PLIST_SUB= NLS=""
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --disable-nls
|
|
||||||
PLIST_SUB= NLS="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
${RM} -fr ${WRKSRC}/zlib
|
${RM} -fr ${WRKSRC}/zlib
|
||||||
@ -99,9 +93,8 @@ post-extract:
|
|||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
(cd ${WRKDIR}/appendix && ${COPYTREE_SHARE} . ${STAGEDIR}${APPENDIXDIR} )
|
(cd ${WRKDIR}/appendix && ${COPYTREE_SHARE} . ${STAGEDIR}${APPENDIXDIR} )
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
||||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
|
||||||
.endif
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libeb.so
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user