mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Use stage and options helpers.
This commit is contained in:
parent
adb5104c6b
commit
afc2bdaaf3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328015
@ -11,7 +11,6 @@ PKGNAMEPREFIX= g
|
||||
MAINTAINER= naddy@FreeBSD.org
|
||||
COMMENT= GNU cpio copies files to and from archives
|
||||
|
||||
NO_STAGE= yes
|
||||
USE_BZIP2= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --program-prefix=g \
|
||||
@ -19,18 +18,12 @@ CONFIGURE_ARGS= --program-prefix=g \
|
||||
--with-rmt=/etc/rmt
|
||||
|
||||
INFO= cpio
|
||||
MAN1= gcpio.1
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}"
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
|
||||
regression-test: build
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
|
||||
|
@ -1,5 +1,6 @@
|
||||
@comment $FreeBSD$
|
||||
bin/gcpio
|
||||
man/man1/gcpio.1.gz
|
||||
%%NLS%%share/locale/da/LC_MESSAGES/cpio.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/cpio.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/cpio.mo
|
||||
|
Loading…
Reference in New Issue
Block a user