Index: head/devel/newfile/Makefile =================================================================== --- head/devel/newfile/Makefile (revision 366569) +++ head/devel/newfile/Makefile (revision 366570) @@ -1,30 +1,26 @@ # Created by: Miguel Mendez # $FreeBSD$ PORTNAME= newfile PORTVERSION= 1.0.14 PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Tool for creating starter files in various languages LICENSE= BSD3CLAUSE -USE_RUBY= yes GNU_CONFIGURE= yes NO_ARCH= yes +USE_RUBY= yes PORTDOCS= newfile.html -post-configure: - ${REINPLACE_CMD} '282s,$$(pkgdatadir)/newfile.rb,$$(DESTDIR)$$(pkgdatadir)/newfile.rb,' ${WRKSRC}/src/Makefile - ${REINPLACE_CMD} '287s,$$(bindir)/newfile,$$(DESTDIR)$$(bindir)/newfile,' ${WRKSRC}/src/Makefile - post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 - ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include Index: head/devel/newfile/files/patch-src-Makefile.in =================================================================== --- head/devel/newfile/files/patch-src-Makefile.in (nonexistent) +++ head/devel/newfile/files/patch-src-Makefile.in (revision 366570) @@ -0,0 +1,17 @@ +--- src/Makefile.in.orig 2003-11-03 20:49:37.000000000 +0800 ++++ src/Makefile.in 2014-08-30 04:12:00.646368587 +0800 +@@ -279,12 +279,12 @@ + + + install-data-hook: +- chmod +x $(pkgdatadir)/newfile.rb ++ chmod +x $(DESTDIR)$(pkgdatadir)/newfile.rb + + install-exec-hook: + -mkdir -p $(bindir) || true + -rm -f $(bindir)/newfile || true +- ln -s $(pkgdatadir)/newfile.rb $(bindir)/newfile ++ ln -s $(pkgdatadir)/newfile.rb $(DESTDIR)$(bindir)/newfile + #EOF + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. Property changes on: head/devel/newfile/files/patch-src-Makefile.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property