Skip to content

Commit

Permalink
nt/a2ps: fix option I18N
Browse files Browse the repository at this point in the history
PR: 270517
  • Loading branch information
Dirk Meyer authored and Dirk Meyer committed Mar 29, 2023
1 parent 5a744bf commit b0eefcb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 3 additions & 5 deletions print/a2ps/Makefile
Expand Up @@ -3,7 +3,7 @@ PORTVERSION= 4.15.3
CATEGORIES= print
MASTER_SITES= GNU LOCAL/hrs/a2ps/:i18n

MAINTAINER= dirk.meyer@dinoex.sub.org
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Formats an ASCII file for printing on a postscript printer
WWW= https://www.gnu.org/software/a2ps/

Expand All @@ -17,7 +17,6 @@ USE_CSTD= gnu89
GNU_CONFIGURE= yes
INFO= a2ps ogonkify regex
I18N_PACKAGE= i18n-fonts-0.1
MAKE_JOBS_UNSAFE=yes

CONFIGURE_ARGS= --with-medium=libpaper --sharedstatedir=${PREFIX}/share \
--sysconfdir=${PREFIX}/etc --datadir=${PREFIX}/share \
Expand All @@ -30,7 +29,6 @@ RUN_DEPENDS+= ${LOCALBASE}/etc/papersize:print/papersize-default-a4
.endif

OPTIONS_DEFINE=NLS I18N EMACS
OPTIONS_DEFAULT=NLS
NO_OPTIONS_SORT=yes
OPTIONS_SUB= yes
EMACS_DESC=Enable Emacs support
Expand All @@ -52,7 +50,7 @@ post-patch:
${REINPLACE_CMD} -e 's|^DESTDIR|#DESTDIR|' \
`${FIND} ${WRKSRC} -name "Makefile.in"`

.if ${PORT_OPTIONS:MI18N}
.if ${PORT_OPTIONS:MI18N} || make(makesum) || defined(FETCH_ALL)
#DISTFILES+= ${I18N_PACKAGE}${EXTRACT_SUFX}:i18n
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${I18N_PACKAGE}${EXTRACT_SUFX}:i18n

Expand Down Expand Up @@ -82,6 +80,6 @@ post-install:
.endif
cd ${WRKSRC}/doc && \
${SETENV} ${MAKE_ENV} ${MAKE} ${.MAKEFLAGS} ${MAKE_ARGS} ${INSTALL_TARGET}
${RM} -f ${STAGEDIR}${PREFIX}/lib/liba2ps.la
${RM} ${STAGEDIR}${PREFIX}/lib/liba2ps.la

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions print/a2ps/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1679944910
SHA256 (a2ps-4.15.3.tar.gz) = d00e81e0eb4dcbf2d4963d89e1df2bb66f71e66d73b4152c43cf9838e6aaf7c7
SIZE (a2ps-4.15.3.tar.gz) = 3601424
SHA256 (i18n-fonts-0.1.tar.gz) = 20628df682359044b8e5241c97a3c8da7a098aa260a7d281a87f67486a531786
SIZE (i18n-fonts-0.1.tar.gz) = 352530

0 comments on commit b0eefcb

Please sign in to comment.