1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- Update 4.1.4

- Add SHA256
- Cleanup
- Pass maintainership to submitter

PR:		ports/89841
Submitted by:	Gabor Kovesdan <gabor.kovesdan@t-hosting.hu>
This commit is contained in:
Renato Botelho 2005-12-02 17:44:28 +00:00
parent 7f87cb8160
commit e0f2f09c97
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150245
4 changed files with 20 additions and 52 deletions

View File

@ -6,72 +6,57 @@
#
PORTNAME= sed
PORTVERSION= 4.0.9
PORTREVISION= 1
PORTVERSION= 4.1.4
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= g
MAINTAINER= ports@FreeBSD.org
MAINTAINER= gkovesdan@t-hosting.hu
COMMENT= The GNU stream editor
# Global variables
#
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --disable-nls
CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS+=--disable-nls
USE_GMAKE= yes
INFO= sed
MAN1= gsed.1
# Local variables
#
PATCH_SUBDIRS= . doc lib sed
DATADIR= ${PREFIX}/share/${PKGBASE}
SAMP_FILES= binary*.sed dc.sed
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
DOC_FILES= AUTHORS BUGS COPYING COPYING.DOC NEWS README THANKS
PORTDOCS= AUTHORS BUGS COPYING COPYING.DOC NEWS README THANKS
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
# Post-configure
#
post-patch:
@${REINPLACE_CMD} -e 's,^\* sed:,* CNU sed:,' \
${WRKSRC}/doc/config.texi
post-configure: patch-makefiles
patch-makefiles:
post-configure:
.for subdir in ${PATCH_SUBDIRS}
@${REINPLACE_CMD} -e 's|s,x,x,|s,^,g,|' ${WRKSRC}/${subdir}/Makefile
@${REINPLACE_CMD} -e 's|s,x,x,|s,^,g,|' \
-e 's|^doc_DATA|#doc_DATA|' \
${WRKSRC}/${subdir}/Makefile
.endfor
# Post-install
#
post-install: install-sample-files install-doc-files
install-sample-files:
post-install:
@${MKDIR} ${EXAMPLESDIR}
.for file in ${SAMP_FILES}
@${INSTALL_DATA} ${WRKSRC}/testsuite/${file} ${EXAMPLESDIR}
.for f in ${SAMP_FILES}
@${INSTALL_DATA} ${WRKSRC}/testsuite/${f} ${EXAMPLESDIR}
.endfor
install-doc-files:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
# Maintainer only
#
test:
@cd ${WRKSRC}/testsuite; ${MAKE} check

View File

@ -1,2 +1,3 @@
MD5 (sed-4.0.9.tar.gz) = d8fb554bc6577aaedd39b94b3cb3df70
SIZE (sed-4.0.9.tar.gz) = 769849
MD5 (sed-4.1.4.tar.gz) = 2a62ceadcb571d2dac006f81df5ddb48
SHA256 (sed-4.1.4.tar.gz) = 0e0b9cb024362fff707566ae684d70b664178b583c26e0d4adcdc1a2be102393
SIZE (sed-4.1.4.tar.gz) = 794257

View File

@ -1,10 +0,0 @@
--- doc/config.texi.orig Fri Dec 13 04:05:56 2002
+++ doc/config.texi Wed Jan 15 06:15:33 2003
@@ -1,6 +1,6 @@
@dircategory Text creation and manipulation
@direntry
-* sed: (sed). Stream EDitor.
+* GNU sed: (sed). Stream EDitor.
@end direntry

View File

@ -1,15 +1,7 @@
@comment $FreeBSD$
bin/gsed
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/BUGS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/COPYING.DOC
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/THANKS
%%EXAMPLESDIR%%/binary.sed
%%EXAMPLESDIR%%/binary2.sed
%%EXAMPLESDIR%%/binary3.sed
%%EXAMPLESDIR%%/dc.sed
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%