Convert to staging.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-01-26 20:37:49 +00:00
parent 8d08190886
commit 98ecf04adc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341281
3 changed files with 25 additions and 3 deletions

View File

@ -9,11 +9,13 @@ MASTER_SITES= http://www-users.york.ac.uk/~dm26/filepp/
MAINTAINER= ports@FreeBSD.org
COMMENT= A generic file preprocessor
USES= perl5
USES= perl5 shebangfix
GNU_CONFIGURE= yes
NO_BUILD= yes
CONFIGURE_ENV= PERL=${PERL}
MAN1= filepp.1
post-patch:
@${REINPLACE_CMD} -e 's|$$(moduledir)|$$(DESTDIR)$$(moduledir)|' \
${WRKSRC}/modules/*/Makefile.in
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,19 @@
--- ./Makefile.in.orig 2014-01-26 20:31:47.000000000 +0000
+++ ./Makefile.in 2014-01-26 20:32:23.000000000 +0000
@@ -130,11 +130,11 @@
# installation
install: $(FILEPP) $(FILEPPMAN)
- @$(MKDIR) $(bindir)
- $(INSTALL) $(FILEPP) $(bindir)
- @$(MKDIR) $(mandir)/man1
- $(INSTALL) -m 644 $(FILEPPMAN) $(mandir)/man1
- $(MKDIR) $(moduledir)
+ @$(MKDIR) $(DESTDIR)$(bindir)
+ $(INSTALL) $(FILEPP) $(DESTDIR)$(bindir)
+ @$(MKDIR) $(DESTDIR)$(mandir)/man1
+ $(INSTALL) -m 644 $(FILEPPMAN) $(DESTDIR)$(mandir)/man1
+ $(MKDIR) $(DESTDIR)$(moduledir)
$(MAKE) dirmake DIRECTORIES="$(module_subdirs)" TARGET=install
# distribution

View File

@ -1,4 +1,5 @@
bin/filepp
man/man1/filepp.1.gz
%%DATADIR%%/modules/bigdef.pm
%%DATADIR%%/modules/bigfunc.pm
%%DATADIR%%/modules/blc.pm