diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-03-05 04:29:56 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-03-05 04:29:56 +0000 |
commit | 76d8fbfe3ca9f8dd835d71679cbba5f2f0b899a4 (patch) | |
tree | a3e22dbc5027237057e410571c197219312002e1 /editors/xed | |
parent | 9bfeb21f41f034d531c889f3c1f36a9c65c99b14 (diff) | |
download | ports-76d8fbfe3ca9f8dd835d71679cbba5f2f0b899a4.tar.gz ports-76d8fbfe3ca9f8dd835d71679cbba5f2f0b899a4.zip |
- Simplify MASTER_SITES
- Add LICENSE
- Fix references to STAGEDIR
MFH: 2015Q1
Notes
Notes:
svn path=/head/; revision=380476
Diffstat (limited to 'editors/xed')
-rw-r--r-- | editors/xed/Makefile | 11 | ||||
-rw-r--r-- | editors/xed/files/patch-Imakefile | 19 |
2 files changed, 27 insertions, 3 deletions
diff --git a/editors/xed/Makefile b/editors/xed/Makefile index 320d3ba18503..ebf7b3f955a9 100644 --- a/editors/xed/Makefile +++ b/editors/xed/Makefile @@ -3,19 +3,24 @@ PORTNAME= xed PORTVERSION= 1.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= editors -MASTER_SITES= ${MASTER_SITE_XCONTRIB} -MASTER_SITE_SUBDIR= editors +MASTER_SITES= XCONTRIB/editors DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Text editor for X +LICENSE= MIT + USES= imake tar:Z USE_XORG= xaw +MAKE_ARGS= BINDIR=${PREFIX}/bin \ + LIBDIR=${PREFIX}/lib/X11 \ + MANPATH=${PREFIX}/man pre-build: @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \ 's|extern char \*malloc();|/\* extern char \*malloc(); \*/|g' + .include <bsd.port.mk> diff --git a/editors/xed/files/patch-Imakefile b/editors/xed/files/patch-Imakefile new file mode 100644 index 000000000000..387eef278c53 --- /dev/null +++ b/editors/xed/files/patch-Imakefile @@ -0,0 +1,19 @@ +--- Imakefile.orig 2015-03-05 04:17:04.000000000 +0300 ++++ Imakefile 2015-03-05 04:18:12.000000000 +0300 +@@ -1,4 +1,4 @@ +- DEFINES = -DHELPFILE=\"$(DESTDIR)${LIBDIR}/xed/xed.help\" ++ DEFINES = -DHELPFILE=\"${LIBDIR}/xed/xed.help\" + + XCOMM Please check for some aditional DEFINES + XCOMM -DSCROLLBREAK -DUSEGETCWD -DNORENAME -DUSEDIRENT -DUSE_CSH_SYSTEM +@@ -30,8 +30,8 @@ + + xed.help: helpfile + $(RM) $@ +- cat helpfile | sed "s@<XEDCOMMANDFILE>@$(DESTDIR)$(LIBDIR)/xed/xed.commands@g" | \ +- sed "s@<XEDRESOURCEFILE>@$(DESTDIR)$(XAPPLOADDIR)/Xed@g" > xed.help ++ cat helpfile | sed "s@<XEDCOMMANDFILE>@$(LIBDIR)/xed/xed.commands@g" | \ ++ sed "s@<XEDRESOURCEFILE>@$(XAPPLOADDIR)/Xed@g" > xed.help + + + InstallNonExecFile(xed.help,$(LIBDIR)/xed) |