Changeset View
Changeset View
Standalone View
Standalone View
editors/joe/Makefile
# Created by: torstenb@FreeBSD.org | # Created by: torstenb@FreeBSD.org | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= joe | PORTNAME= joe | ||||
PORTVERSION= 4.2 | PORTVERSION= 4.2 | ||||
PORTEPOCH= 1 | PORTEPOCH= 1 | ||||
CATEGORIES?= editors | CATEGORIES?= editors | ||||
MASTER_SITES= SF/joe-editor/JOE%20sources/joe-${PORTVERSION} | MASTER_SITES= SF/joe-editor/JOE%20sources/joe-${PORTVERSION} | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= Joe's Own Editor | COMMENT= Joe's Own Editor | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
BUILD_DEPENDS= aspell:textproc/aspell | |||||
RUN_DEPENDS= aspell:textproc/aspell | |||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= ASPELL DOCS | ||||
CONFLICTS= joe-2.* | CONFLICTS= joe-2.* | ||||
USES= gmake iconv ncurses | USES= gmake iconv ncurses | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} | LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} | ||||
ALL_TARGET= ${PORTNAME} | ALL_TARGET= ${PORTNAME} | ||||
.include <bsd.port.options.mk> | |||||
.if ${PORT_OPTIONS:MASPELL} | |||||
RUN_DEPENDS= aspell:textproc/aspell | |||||
.endif | |||||
post-patch: | post-patch: | ||||
${REINPLACE_CMD} -e 's|docs/README.old docs/man.md ||' ${WRKSRC}/Makefile.in | ${REINPLACE_CMD} -e 's|docs/README.old docs/man.md ||' ${WRKSRC}/Makefile.in | ||||
post-install: | post-install: | ||||
for rc in jmacsrc joerc jpicorc jstarrc rjoerc; do \ | for rc in jmacsrc joerc jpicorc jstarrc rjoerc; do \ | ||||
${MV} ${STAGEDIR}${ETCDIR}/$${rc} ${STAGEDIR}${ETCDIR}/$${rc}.sample ; \ | ${MV} ${STAGEDIR}${ETCDIR}/$${rc} ${STAGEDIR}${ETCDIR}/$${rc}.sample ; \ | ||||
done | done | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |