diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-27 14:47:05 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-27 14:47:05 +0000 |
commit | 2a7a5c4cee84adb56e8e3f36f6ead45d10edea79 (patch) | |
tree | 98f0179e6f0fceb899bbda85d78fe99da00a7716 /ports-mgmt/pkg_replace | |
parent | ffa4e5156da39cc75fcf28d280071076634b34bd (diff) | |
download | ports-2a7a5c4cee84adb56e8e3f36f6ead45d10edea79.tar.gz ports-2a7a5c4cee84adb56e8e3f36f6ead45d10edea79.zip |
- Revert to the original installation schema. With stage, files can be unconditionally installed
Reported by: ak
Notes
Notes:
svn path=/head/; revision=335018
Diffstat (limited to 'ports-mgmt/pkg_replace')
-rw-r--r-- | ports-mgmt/pkg_replace/Makefile | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/ports-mgmt/pkg_replace/Makefile b/ports-mgmt/pkg_replace/Makefile index bc7c5888707a..a8f9829bb06c 100644 --- a/ports-mgmt/pkg_replace/Makefile +++ b/ports-mgmt/pkg_replace/Makefile @@ -29,23 +29,11 @@ PLIST_SUB+= PKGDB_FIX="@comment " OPTIONS_SUB= yes -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e 's/pkg_replace/pkg_replace pkgdb_fix/' ${WRKSRC}/sbin/Makefile @${REINPLACE_CMD} -e 's/mkdir -p $${FILESDIR}/@true/' ${WRKSRC}/share/zsh/Makefile -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/sbin/pkg_replace/pkg_replace ${STAGEDIR}${PREFIX}/sbin - ${CP} ${WRKSRC}/etc/pkg_replace.conf ${STAGEDIR}${PREFIX}/etc/pkg_replace.conf.sample - ${INSTALL_MAN} ${WRKSRC}/sbin/pkg_replace/pkg_replace.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.if ${PORT_OPTIONS:MZSH} +pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions - ${INSTALL_DATA} ${WRKSRC}/share/zsh/_pkg_replace ${STAGEDIR}${PREFIX}/share/zsh/site-functions -.endif -.if ${PORT_OPTIONS:MPKGDB_FIX} - ${INSTALL_SCRIPT} ${WRKSRC}/sbin/pkgdb_fix/pkgdb_fix ${STAGEDIR}${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/sbin/pkgdb_fix/pkgdb_fix.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.endif .include <bsd.port.mk> |