- Clarify LICENSE

- Add LICENSE_FILE
- Switch to options helpers
- Regenerate patches with `make makepatch`
This commit is contained in:
Dmitry Marakasov 2016-03-22 00:33:51 +00:00
parent 8ef09e54bc
commit 2eb7ae9a79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411630
2 changed files with 11 additions and 10 deletions

View file

@ -10,7 +10,8 @@ MASTER_SITES= ftp://ftp.mars.org/pub/hfs/
MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities for accessing Apple's HFS volumes
LICENSE= GPLv2
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS= hfs-[0-9]*
@ -34,8 +35,6 @@ TCLTK_CONFIGURE_OFF= --without-tcl --without-tk
DEVLIBS_CONFIGURE_ON= --enable-devlibs
.include <bsd.port.options.mk>
post-patch:
# Unbreak against Tcl 8.6
@${ECHO_CMD} '#define USE_INTERP_RESULT 1' >> ${WRKSRC}/config.h.in
@ -45,9 +44,11 @@ post-patch:
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/hfsck/hfsck ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MTCLTK}
post-install-TCLTK-on:
@${CHMOD} 755 ${STAGEDIR}${PREFIX}/bin/hfs
.endif
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in BLURB CHANGES README TODO doc/*.txt
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}

View file

@ -1,6 +1,6 @@
--- Makefile.in.orig Tue Sep 1 02:40:14 1998
+++ Makefile.in Wed Nov 4 17:32:21 1998
@@ -64,7 +64,8 @@
--- Makefile.in.orig 1998-08-31 18:40:14 UTC
+++ Makefile.in
@@ -64,7 +64,8 @@ TARGETS = $(CLITARGETS) $(TCLTARGETS) $(
CLITARGETS = hattrib hcd hcopy hdel hdir hformat hls hmkdir hmount hpwd \
hrename hrmdir humount hvol
@ -10,7 +10,7 @@
TKTARGETS = xhfs
LIBHFS = libhfs/libhfs.a
@@ -96,7 +97,7 @@
@@ -96,7 +97,7 @@ UTILOBJS = crc.o binhex.o copyin.o copyo
all :: @MAKE_TARGETS@
all_cli :: $(CLITARGETS)
@ -19,7 +19,7 @@
all_tk :: $(TKTARGETS)
all_lib :: $(LIBHFS) $(LIBRSRC)
@@ -129,9 +130,13 @@
@@ -129,9 +130,13 @@ install_tcl :: all_tcl
$(BININSTALL) $$file "$(BINDEST)/."; \
done