Bug 175193 - [MAINTAINER] japanese/eb: adopt OptionsNG
Summary: [MAINTAINER] japanese/eb: adopt OptionsNG
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: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-11 06:40 UTC by Yasuhiro Kimura
Modified: 2013-01-15 05:30 UTC (History)
0 users

See Also:


Attachments
patch-ja-eb (738 bytes, text/plain)
2013-01-11 06:40 UTC, Yasuhiro Kimura
no flags Details
patch-ja-eb (1.01 KB, text/plain; charset=Shift_JIS)
2013-01-11 14:04 UTC, Yasuhiro Kimura
no flags Details
patch-ja-eb (1.11 KB, text/plain; charset=Shift_JIS)
2013-01-14 01:19 UTC, Yasuhiro Kimura
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2013-01-11 06:40:00 UTC
	Adopt OptionsNG.
Comment 1 Jason Helfman freebsd_committer freebsd_triage 2013-01-11 07:22:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 2 Yasuhiro Kimura freebsd_committer freebsd_triage 2013-01-11 14:04:45 UTC
License information is added. So please commit attached patch instead
of original one.

Regards.
Comment 3 Yasuhiro Kimura freebsd_committer freebsd_triage 2013-01-14 01:19:29 UTC
"Created by:" header is added to Makefile. Please commit attached patch
instead of previous ones.

Regards.
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-01-15 05:28:52 UTC
Author: jgh
Date: Tue Jan 15 05:28:40 2013
New Revision: 310424
URL: http://svnweb.freebsd.org/changeset/ports/310424

Log:
  - add created by to header
  - adopt optionsNG
  - add LICENSE
  - while here use copytree_share in favor of cp (appoved by maintainer)
  
  PR:		175193
  Submitted by:	maintainer, yasu@utahime.org

Modified:
  head/japanese/eb/Makefile

Modified: head/japanese/eb/Makefile
==============================================================================
--- head/japanese/eb/Makefile	Tue Jan 15 03:53:48 2013	(r310423)
+++ head/japanese/eb/Makefile	Tue Jan 15 05:28:40 2013	(r310424)
@@ -1,3 +1,4 @@
+# Created by: Motoyuki Kasahara <m-kasahr@sra.co.jp>
 # $FreeBSD$
 
 PORTNAME=	eb
@@ -13,6 +14,8 @@ EXTRACT_ONLY=	${EBFILES}
 MAINTAINER=	yasu@utahime.org
 COMMENT=	C library for accessing EB, EBG, EBXA, and EPWING CD-ROM dictionaries
 
+LICENSE=	BSD
+
 EBFILES=	${DISTNAME}${EXTRACT_SUFX}
 APPENDIXFILES=	appendix/cencro-1.0.tar.gz \
 		appendix/chujiten-2.3.tar.gz \
@@ -68,9 +71,13 @@ GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS=	--with-pkgdocdir=${DOCSDIR}
 
+OPTIONS_DEFINE=	DOCS NLS
+
 APPENDIXDIR=	${DATADIR}/appendix
 
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
 USE_GETTEXT=	yes
 CONFIGURE_ARGS+=	--enable-nls \
 		--with-gettext-includes=${LOCALBASE}/include \
@@ -91,8 +98,8 @@ post-extract:
 .endfor
 
 post-install:
-	${CP} -R ${WRKDIR}/appendix/ ${APPENDIXDIR}
-.if !defined(NOPORTDOCS)
+	(cd ${WRKDIR}/appendix && ${COPYTREE_SHARE} \* ${APPENDIXDIR} )
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for doc in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
_______________________________________________
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 5 Jason Helfman freebsd_committer freebsd_triage 2013-01-15 05:29:31 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!