summaryrefslogtreecommitdiff
path: root/editors/fte/Makefile
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-03-15 10:09:06 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-03-15 10:09:06 +0000
commit48441caae78b9f50eee4bda0a0eee41b2d19afa3 (patch)
tree3c352e758222f6cfff877fb3ed1ddabe74f64453 /editors/fte/Makefile
parent- Update to 3.006 (diff)
- 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 <acardenas@bsd.org.pe>
Notes
Notes: svn path=/head/; revision=157169
Diffstat (limited to 'editors/fte/Makefile')
-rw-r--r--editors/fte/Makefile17
1 files changed, 15 insertions, 2 deletions
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 <bsd.port.mk>