diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2014-06-22 11:57:42 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2014-06-22 11:57:42 +0000 |
commit | 8f317d65c6aa26c16c97e51f32c663721a6e48d2 (patch) | |
tree | fe037687a1edf6e50d83a42e2d9f131902599d34 /sysutils/ledit | |
parent | 10b2784b0fd4bf65733835d1d8c8065aa340d830 (diff) | |
download | ports-8f317d65c6aa26c16c97e51f32c663721a6e48d2.tar.gz ports-8f317d65c6aa26c16c97e51f32c663721a6e48d2.zip |
Notes
Diffstat (limited to 'sysutils/ledit')
-rw-r--r-- | sysutils/ledit/Makefile | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/sysutils/ledit/Makefile b/sysutils/ledit/Makefile index 49fda91e183e..65914bda42a7 100644 --- a/sysutils/ledit/Makefile +++ b/sysutils/ledit/Makefile @@ -4,43 +4,39 @@ PORTNAME= ledit PORTVERSION= 2.03 CATEGORIES= sysutils -MASTER_SITES= http://cristal.inria.fr/~ddr/ledit/distrib/src/ \ - http://pauillac.inria.fr/~ddr/ledit/distrib/src/ -EXTRACT_SUFX= .tgz +MASTER_SITES= http://cristal.inria.fr/%SUBDIR%/ \ + http://pauillac.inria.fr/%SUBDIR%/ +MASTER_SITE_SUBDIR= ~ddr/${PORTNAME}/distrib/src -MAINTAINER= ports@FreeBSD.org +MAINTAINER= k@stereochro.me COMMENT= Line editor to be used with interactive commands -LICENSE= BSD +LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= camlp5r:${PORTSDIR}/devel/ocaml-camlp5 -USES= gmake +USES= gmake tar:tgz USE_OCAML= yes ALL_TARGET= all ledit.opt - -PLIST_FILES= bin/ledit MAKE_JOBS_UNSAFE= yes -MAN1= ledit.1 -PORTDOCS= CHANGES LICENSE README +PLIST_FILES= bin/ledit \ + man/man1/ledit.1.gz +PORTDOCS= CHANGES README + OPTIONS_DEFINE= DOCS -NO_STAGE= yes do-configure: - ${REINPLACE_CMD} -e '/^BINDIR=/s;/usr/local;${PREFIX};' \ - -e '/^LIBDIR=/s;/usr/local;${PREFIX};' \ - -e '/^MANDIR=/s;/usr/local;${PREFIX};' \ + ${REINPLACE_CMD} -e '/^BINDIR=/s|/usr/local|${STAGEDIR}${PREFIX}|' \ + -e '/^LIBDIR=/s|/usr/local|${STAGEDIR}${PREFIX}|' \ + -e '/^MANDIR=/s|/usr/local|${STAGEDIR}${PREFIX}|' \ ${WRKSRC}/Makefile -.include <bsd.port.options.mk> - post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} -.endif + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ledit + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |