View | Details | Raw Unified | Return to bug 187723
Collapse All | Expand All

(-)ports-mgmt/pkg_replace/Makefile (-11 / +11 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	pkg_replace
4
PORTNAME=	pkg_replace
5
PORTVERSION=	0.8.0
5
PORTVERSION=	0.8.0
6
PORTREVISION=	8
6
PORTREVISION=	9
7
CATEGORIES=	ports-mgmt
7
CATEGORIES=	ports-mgmt
8
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
8
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
9
MASTER_SITE_SUBDIR=	portutil/22116
9
MASTER_SITE_SUBDIR=	portutil/22116
Lines 14-34 Link Here
14
MAINTAINER=	kdeguchi@sz.tokoha-u.ac.jp
14
MAINTAINER=	kdeguchi@sz.tokoha-u.ac.jp
15
COMMENT=	Utility for upgrading installed packages
15
COMMENT=	Utility for upgrading installed packages
16
16
17
USE_BZIP2=	yes
17
USES=	tar:bzip2
18
MAKE_ARGS=	PREFIX="${PREFIX}" \
18
MAKE_ARGS=	PREFIX="${PREFIX}" \
19
		PORTSDIR="${PORTSDIR}" PKG_DBDIR="${PKG_DBDIR}"
19
		PORTSDIR="${PORTSDIR}" PKG_DBDIR="${PKG_DBDIR}"
20
20
21
OPTIONS_DEFINE=	ZSH
21
OPTIONS_DEFINE=	PKGDB_FIX ZSH
22
22
PKGDB_FIX_DESC=	Fixing tool of installed package dependencies (not supported pkgng)
23
.if empty(WITH_PKGNG)
24
OPTIONS_DEFINE+=	PKGDB_FIX
25
PKGDB_FIX_DESC=	Fixing tool of installed package dependencies
26
.else
27
PLIST_SUB+=	PKGDB_FIX="@comment "
28
.endif
29
30
OPTIONS_SUB=	yes
23
OPTIONS_SUB=	yes
31
24
25
.include <bsd.port.options.mk>
26
32
post-patch:
27
post-patch:
33
	@${REINPLACE_CMD} -e 's/pkg_replace/pkg_replace pkgdb_fix/' ${WRKSRC}/sbin/Makefile
28
	@${REINPLACE_CMD} -e 's/pkg_replace/pkg_replace pkgdb_fix/' ${WRKSRC}/sbin/Makefile
34
	@${REINPLACE_CMD} -e 's/mkdir -p $${FILESDIR}/@true/' ${WRKSRC}/share/zsh/Makefile
29
	@${REINPLACE_CMD} -e 's/mkdir -p $${FILESDIR}/@true/' ${WRKSRC}/share/zsh/Makefile
Lines 36-39 Link Here
36
pre-install:
31
pre-install:
37
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
32
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
38
33
34
.if defined(WITH_PKGNG)
35
post-install:
36
	@${REINPLACE_CMD} -e '/pkgdb_fix/d' ${TMPPLIST}
37
.endif
38
39
.include <bsd.port.mk>
39
.include <bsd.port.mk>
(-)ports-mgmt/pkg_replace/distinfo (-2 / +2 lines)
Lines 1-4 Link Here
1
SHA256 (pkg_replace-0.8.0.tar.bz2) = 3092f5fc0d18529eb5d38776941c0ee4d0073ecb524ab17671c81ca69c29e214
1
SHA256 (pkg_replace-0.8.0.tar.bz2) = 3092f5fc0d18529eb5d38776941c0ee4d0073ecb524ab17671c81ca69c29e214
2
SIZE (pkg_replace-0.8.0.tar.bz2) = 17296
2
SIZE (pkg_replace-0.8.0.tar.bz2) = 17296
3
SHA256 (pkg_replace-0.8.0_8.patch) = c66579918c99277c6ef18e3c8d9f5fad3a452c1e0e32096f97918103271167c4
3
SHA256 (pkg_replace-0.8.0_9.patch) = 5025b8cdf05f91c5f0d110cba908c0c04c39cbb8d3255c0100e745c3526db2b9
4
SIZE (pkg_replace-0.8.0_8.patch) = 11601
4
SIZE (pkg_replace-0.8.0_9.patch) = 12219
(-)ports-mgmt/pkg_replace/pkg-plist (-1 / +1 lines)
Lines 1-7 Link Here
1
etc/pkg_replace.conf.sample
1
etc/pkg_replace.conf.sample
2
man/man1/pkg_replace.1.gz
2
man/man1/pkg_replace.1.gz
3
sbin/pkg_replace
4
%%PKGDB_FIX%%man/man1/pkgdb_fix.1.gz
3
%%PKGDB_FIX%%man/man1/pkgdb_fix.1.gz
4
sbin/pkg_replace
5
%%PKGDB_FIX%%sbin/pkgdb_fix
5
%%PKGDB_FIX%%sbin/pkgdb_fix
6
%%ZSH%%share/zsh/site-functions/_pkg_replace
6
%%ZSH%%share/zsh/site-functions/_pkg_replace
7
%%ZSH%%@dirrmtry share/zsh/site-functions
7
%%ZSH%%@dirrmtry share/zsh/site-functions

Return to bug 187723