mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
parent
70a6b3b070
commit
3feec6d6b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=482889
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ne
|
||||
PORTVERSION= 3.1.1
|
||||
PORTVERSION= 3.1.2
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= http://ne.di.unimi.it/
|
||||
|
||||
@ -12,11 +12,10 @@ COMMENT= Nice and powerful editor
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_WRKSRC= ${WRKSRC}/src
|
||||
|
||||
USES= gmake makeinfo perl5
|
||||
USE_PERL5= build
|
||||
USE_CSTD= c99
|
||||
|
||||
MAKEFILE= makefile
|
||||
MAKE_ARGS= CC="${CC}" \
|
||||
OPTS="${CFLAGS}" \
|
||||
@ -24,12 +23,12 @@ MAKE_ARGS= CC="${CC}" \
|
||||
NE_GLOBAL_DIR="${DATADIR}"
|
||||
ALL_TARGET= ne
|
||||
|
||||
LDFLAGS+= -lgnuregex
|
||||
LDFLAGS= -lgnuregex
|
||||
|
||||
BUILD_WRKSRC= ${WRKSRC}/src
|
||||
INFO= ne
|
||||
PORTDOCS= *
|
||||
PORTDATA= *
|
||||
PLIST_FILES= bin/ne man/man1/ne.1.gz
|
||||
DOCS= CHANGES NEWS README.md doc/default.* \
|
||||
doc/ne.pdf doc/ne.txt doc/html/*
|
||||
|
||||
OPTIONS_DEFINE= DEBUG DOCS
|
||||
|
||||
@ -40,33 +39,15 @@ post-patch:
|
||||
's|"regex\.h"|<gnu/regex.h>|g'
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|-O3|| ; \
|
||||
/[[:space:]]regex.o/d ; \
|
||||
/[[:space:]]regex.o/d ; \
|
||||
s|regex.h$$||g' ${BUILD_WRKSRC}/makefile
|
||||
@${REINPLACE_CMD} -e '/cp -pR/d' ${WRKSRC}/makefile
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC}/doc && makeinfo ne.texinfo
|
||||
|
||||
do-install:
|
||||
(cd ${BUILD_WRKSRC} && ${INSTALL_PROGRAM} ne \
|
||||
${STAGEDIR}${PREFIX}/bin)
|
||||
(cd ${WRKSRC}/doc && ${INSTALL_MAN} ne.1 \
|
||||
${STAGEDIR}${MANPREFIX}/man/man1)
|
||||
(cd ${WRKSRC}/doc && ${INSTALL_DATA} ne.info \
|
||||
${STAGEDIR}${PREFIX}/${INFO_PATH})
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/macros
|
||||
(cd ${WRKSRC}/macros && ${INSTALL_DATA} * \
|
||||
${STAGEDIR}${DATADIR}/macros)
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/syntax
|
||||
(cd ${WRKSRC}/syntax && ${INSTALL_DATA} *.jsf \
|
||||
${STAGEDIR}${DATADIR}/syntax)
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ne
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} CHANGES NEWS README.md \
|
||||
${STAGEDIR}${DOCSDIR})
|
||||
(cd ${WRKSRC}/doc && ${INSTALL_DATA} default.* ne.pdf ne.txt \
|
||||
${STAGEDIR}${DOCSDIR})
|
||||
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html \
|
||||
${STAGEDIR}${DOCSDIR})
|
||||
${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1496638217
|
||||
SHA256 (ne-3.1.1.tar.gz) = ec4f5d919c38b1a5938b609a722d0d88a68c404b4564e3bb654b96b30582add9
|
||||
SIZE (ne-3.1.1.tar.gz) = 1219488
|
||||
TIMESTAMP = 1539738800
|
||||
SHA256 (ne-3.1.2.tar.gz) = a2011fb420d8f26ff4cbf362206dce1bc1775f5c0619eb43440958df311b131b
|
||||
SIZE (ne-3.1.2.tar.gz) = 1162536
|
||||
|
Loading…
Reference in New Issue
Block a user