From e801be68b11b346a02e9562efb43f677b778762d Mon Sep 17 00:00:00 2001 From: garga Date: Wed, 15 Mar 2006 10:09:06 +0000 Subject: - Update to 20051115 - Add USE_X_PREFIX, it's use X - Add NOPORTDOCS - Pass maintainership to submitter PR: ports/93950 Submitted by: Jose Alonso Cardenas Marquez --- editors/fte/Makefile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'editors/fte/Makefile') diff --git a/editors/fte/Makefile b/editors/fte/Makefile index d01466ab4f83..daa633f0b6d8 100644 --- a/editors/fte/Makefile +++ b/editors/fte/Makefile @@ -6,20 +6,33 @@ # PORTNAME= fte -PORTVERSION= 20050108 +PORTVERSION= 20051115 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} DISTFILES= ${PORTNAME}-${PORTVERSION:S/./b/}-src.zip \ ${PORTNAME}-${PORTVERSION:S/./b/}-common.zip +DIST_SUBDIR= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= acardenas@bsd.org.pe COMMENT= A full-featured text editor for X11 WRKSRC= ${WRKDIR}/fte +USE_X_PREFIX= yes USE_XLIB= yes USE_ZIP= yes USE_PERL5_BUILD= yes +post-patch: + @${REINPLACE_CMD} -e 's,^PREFIX=,PREFIX?=,' \ + ${WRKSRC}/Makefile + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC}/doc && \ + ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \; +.endif + .include -- cgit