1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Simplify MASTER_SITES

- Add LICENSE
- Fix references to STAGEDIR

MFH:		2015Q1
This commit is contained in:
Dmitry Marakasov 2015-03-05 04:29:56 +00:00
parent 9bfeb21f41
commit 76d8fbfe3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380476
2 changed files with 27 additions and 3 deletions

View File

@ -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>

View File

@ -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)