1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/editors/fte/Makefile

36 lines
747 B
Makefile

# Created by: gelf
# $FreeBSD$
PORTNAME= fte
PORTVERSION= 20051115
PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
DISTFILES= ${PORTNAME}-${PORTVERSION:S/./b/}-src.zip \
${PORTNAME}-${PORTVERSION:S/./b/}-common.zip
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= acm@FreeBSD.org
COMMENT= A full-featured text editor for X11
WRKSRC= ${WRKDIR}/fte
USE_XORG= x11 xpm
USE_ZIP= yes
USES= perl5
USE_PERL5= build
NO_STAGE= 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>