Bug 187828 - [MAINTAINER] japanese/ja-eb: Strip shared library and etc.
Summary: [MAINTAINER] japanese/ja-eb: Strip shared library and etc.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-21 20:20 UTC by Yasuhiro Kimura
Modified: 2014-03-22 20:20 UTC (History)
0 users

See Also:


Attachments
ja-eb-4.4.3.patch (997 bytes, patch)
2014-03-21 20:20 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2014-03-21 20:20:00 UTC
[PORTTOOLS: DESCRIBE CHANGES]
	- Strip shared library.
	- Convert 'USE_BZIP2' to 'USES=tar.bzip2'
	- Make ${PORTDOCS} always install to ${STAGEDIR}${DOCSDIR}.

Generated with FreeBSD Port Tools 1.00.2014.03.21 (mode: change, diff: SVN)
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2014-03-22 19:59:48 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-03-22 20:14:49 UTC
Author: pawel
Date: Sat Mar 22 20:14:45 2014
New Revision: 348805
URL: http://svnweb.freebsd.org/changeset/ports/348805
QAT: https://qat.redports.org/buildarchive/r348805/

Log:
  - 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

Modified:
  head/japanese/eb/Makefile

Modified: head/japanese/eb/Makefile
==============================================================================
--- head/japanese/eb/Makefile	Sat Mar 22 19:59:05 2014	(r348804)
+++ head/japanese/eb/Makefile	Sat Mar 22 20:14:45 2014	(r348805)
@@ -3,7 +3,7 @@
 
 PORTNAME=	eb
 PORTVERSION=	4.4.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	japanese
 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/}/
@@ -64,30 +64,24 @@ PORTDOCS=	eb-01.html eb-02.html eb-03.ht
 		ebzip-08.html ebzip-09.html ebzip-10.html ebzip.html
 
 USE_AUTOTOOLS=	libtool
-USE_BZIP2=	yes
-USES=		perl5
+USES=		perl5 tar:bzip2
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--with-pkgdocdir=${DOCSDIR}
+CONFIGURE_ENV=	ac_cv_path_PERL=${PERL}
 
 OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
 
 APPENDIXDIR=	${DATADIR}/appendix
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext iconv
-CONFIGURE_ARGS+=	--enable-nls \
+NLS_USES=		gettext iconv
+NLS_CONFIGURE_ENABLE=	nls
+NLS_CONFIGURE_ON= \
 		--with-gettext-includes=${LOCALBASE}/include \
 		--with-gettext-libraries=${LOCALBASE}/lib \
 		--with-iconv-includes=${ICONV_PREFIX}/include \
 		--with-iconv-libraries=${ICONV_PREFIX}/lib
-PLIST_SUB=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB=	NLS="@comment "
-.endif
 
 post-extract:
 	${RM} -fr ${WRKSRC}/zlib
@@ -99,9 +93,8 @@ post-extract:
 
 post-install:
 	(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}
-.endif
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libeb.so
 
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2014-03-22 20:15:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!