diff options
author | mat <mat@FreeBSD.org> | 2014-01-27 04:37:49 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2014-01-27 04:37:49 +0800 |
commit | a67ef17f2b6ab4fbb9ae20550e15e007fac3e51d (patch) | |
tree | 59ae565ab3d4f00668ad2e6073c0fe4203da0280 | |
parent | ab40bedcbbeb3ae8dcccce4a1d78f2408d427898 (diff) | |
download | freebsd-ports-gnome-a67ef17f2b6ab4fbb9ae20550e15e007fac3e51d.tar.gz freebsd-ports-gnome-a67ef17f2b6ab4fbb9ae20550e15e007fac3e51d.tar.zst freebsd-ports-gnome-a67ef17f2b6ab4fbb9ae20550e15e007fac3e51d.zip |
Convert to staging.
Sponsored by: Absolight
-rw-r--r-- | textproc/filepp/Makefile | 8 | ||||
-rw-r--r-- | textproc/filepp/files/patch-Makefile.in | 19 | ||||
-rw-r--r-- | textproc/filepp/pkg-plist | 1 |
3 files changed, 25 insertions, 3 deletions
diff --git a/textproc/filepp/Makefile b/textproc/filepp/Makefile index 1a592b5b64de..340ab96d4383 100644 --- a/textproc/filepp/Makefile +++ b/textproc/filepp/Makefile @@ -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> diff --git a/textproc/filepp/files/patch-Makefile.in b/textproc/filepp/files/patch-Makefile.in new file mode 100644 index 000000000000..8095ab5ca556 --- /dev/null +++ b/textproc/filepp/files/patch-Makefile.in @@ -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 diff --git a/textproc/filepp/pkg-plist b/textproc/filepp/pkg-plist index 014abbb3fa43..eb0b3fda7d90 100644 --- a/textproc/filepp/pkg-plist +++ b/textproc/filepp/pkg-plist @@ -1,4 +1,5 @@ bin/filepp +man/man1/filepp.1.gz %%DATADIR%%/modules/bigdef.pm %%DATADIR%%/modules/bigfunc.pm %%DATADIR%%/modules/blc.pm |