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> |