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

(-)sysutils/namefix/Makefile (-16 / +34 lines)
Lines 6-41 Link Here
6
#
6
#
7
7
8
PORTNAME=	namefix
8
PORTNAME=	namefix
9
PORTVERSION=	4.0.r11
9
PORTVERSION=	4.0.2
10
PORTREVISION=	2
11
DISTVERSION=	4.RC11
12
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
13
MASTER_SITES=	CENKES # SF
11
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}.pl/${PORTVERSION}
14
DISTNAME=	${PORTNAME}.${DISTVERSION}
12
DISTNAME=	${PORTNAME}.pl_${PORTVERSION}
13
EXTRACT_SUFX=	.7z
15
14
16
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
17
COMMENT=	Batch renamer
16
COMMENT=	Batch renamer
18
17
18
EXTRACT_DEPENDS=7z:${PORTSDIR}/archivers/p7zip
19
RUN_DEPENDS=	p5-MP3-Tag>=0:${PORTSDIR}/audio/p5-MP3-Tag \
19
RUN_DEPENDS=	p5-MP3-Tag>=0:${PORTSDIR}/audio/p5-MP3-Tag \
20
		p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk \
20
		p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk \
21
		p5-Tk-JComboBox>=0:${PORTSDIR}/x11-toolkits/p5-Tk-JComboBox \
21
		p5-Tk-JComboBox>=0:${PORTSDIR}/x11-toolkits/p5-Tk-JComboBox \
22
		p5-Tk-DynaTabFrame>=0:${PORTSDIR}/x11-toolkits/p5-Tk-DynaTabFrame
22
		p5-Tk-DynaTabFrame>=0:${PORTSDIR}/x11-toolkits/p5-Tk-DynaTabFrame
23
23
24
WRKSRC=		${WRKDIR}/namefix.pl
24
LICENSE=	GPLv2
25
LICENSE_FILE=	${WRKSRC}/gpl.txt
26
27
EXTRACT_CMD=	7z
28
EXTRACT_BEFORE_ARGS=	x
29
EXTRACT_AFTER_ARGS=	-bd -y >/dev/null 2>&1
30
31
WRKSRC=		${WRKDIR}/${PORTNAME}.pl
25
NO_BUILD=	yes
32
NO_BUILD=	yes
26
USE_BZIP2=	yes
27
USE_PERL5=	yes
28
33
29
post-extract:
34
USE_PERL5_RUN=	yes
30
	@${FIND} ${WRKSRC} -name '*~' -delete
31
35
32
post-patch:
36
do-configure:
33
	@${REINPLACE_CMD} -e\
37
.for bin in ${PORTNAME} ${PORTNAME}-cli
34
	's|$$prog_dir/libs/|${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/|'\
38
	@${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/${bin}.in
35
		${WRKSRC}/${PORTNAME}.pl
39
	@${ECHO_CMD} 'namefix_dir=${PREFIX}/${SITE_PERL_REL}/${PORTNAME}' >> ${WRKDIR}/${bin}.in
40
	@${ECHO_CMD} 'cd $${namefix_dir}; exec ./${bin}.pl $$@' >> ${WRKDIR}/${bin}.in
41
.endfor
36
42
37
do-install:
43
do-install:
38
	@cd ${WRKSRC}/libs/&&${COPYTREE_SHARE} . ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/
44
.for bin in ${PORTNAME} ${PORTNAME}-cli
39
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/
45
	${INSTALL_SCRIPT} ${WRKDIR}/${bin}.in ${PREFIX}/bin/${bin}
46
.endfor
47
	@${MKDIR} ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}
48
.for data in ${PORTNAME} ${PORTNAME}-cli
49
	${INSTALL_SCRIPT} ${WRKSRC}/${data}.pl ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}
50
.endfor
51
	${INSTALL_DATA} ${WRKSRC}/mem.jpg ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}
52
.for dir in libs libs/cli libs/gui
53
	@${MKDIR} ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/${dir}
54
	${INSTALL_DATA} ${WRKSRC}/${dir}/*.pm ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/${dir}
55
.endfor
56
	@${MKDIR} ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/txt
57
	${INSTALL_DATA} ${WRKSRC}/txt/*.txt ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/txt
40
58
41
.include <bsd.port.mk>
59
.include <bsd.port.mk>
(-)sysutils/namefix/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (namefix.4.RC11.tar.bz2) = ef1caebbb7a42c117eb3cecc6fcfbe56ab3d65bd8e754504a476d347f0547ace
1
SHA256 (namefix.pl_4.0.2.7z) = 6a910e5e0cb962393e564913af3a6916f8f0ab44189f6f5ce0f2b48f14309e01
2
SIZE (namefix.4.RC11.tar.bz2) = 114188
2
SIZE (namefix.pl_4.0.2.7z) = 6933425
(-)sysutils/namefix/pkg-plist (-25 / +44 lines)
Lines 1-26 Link Here
1
bin/namefix.pl
1
bin/namefix
2
%%SITE_PERL%%/namefix/config.pm
2
bin/namefix-cli
3
%%SITE_PERL%%/namefix/dir.pm
3
%%SITE_PERL%%/namefix/libs/cli/help.pm
4
%%SITE_PERL%%/namefix/filter.pm
4
%%SITE_PERL%%/namefix/libs/cli/print.pm
5
%%SITE_PERL%%/namefix/fixname.pm
5
%%SITE_PERL%%/namefix/libs/config.pm
6
%%SITE_PERL%%/namefix/global_variables.pm
6
%%SITE_PERL%%/namefix/libs/dir.pm
7
%%SITE_PERL%%/namefix/gui/about.pm
7
%%SITE_PERL%%/namefix/libs/filter.pm
8
%%SITE_PERL%%/namefix/gui/blockrename.pm
8
%%SITE_PERL%%/namefix/libs/fixname.pm
9
%%SITE_PERL%%/namefix/gui/bookmarks.pm
9
%%SITE_PERL%%/namefix/libs/global_variables.pm
10
%%SITE_PERL%%/namefix/gui/br_preview.pm
10
%%SITE_PERL%%/namefix/libs/gui/about.pm
11
%%SITE_PERL%%/namefix/gui/changelog.pm
11
%%SITE_PERL%%/namefix/libs/gui/blockrename.pm
12
%%SITE_PERL%%/namefix/gui/dialog.pm
12
%%SITE_PERL%%/namefix/libs/gui/bookmarks.pm
13
%%SITE_PERL%%/namefix/gui/edit_lists.pm
13
%%SITE_PERL%%/namefix/libs/gui/br_preview.pm
14
%%SITE_PERL%%/namefix/gui/links.pm
14
%%SITE_PERL%%/namefix/libs/gui/changelog.pm
15
%%SITE_PERL%%/namefix/gui/manual.pm
15
%%SITE_PERL%%/namefix/libs/gui/config_dialog.pm
16
%%SITE_PERL%%/namefix/gui/menu.pm
16
%%SITE_PERL%%/namefix/libs/gui/dialog.pm
17
%%SITE_PERL%%/namefix/gui/misc.pm
17
%%SITE_PERL%%/namefix/libs/gui/dir_hlist.pm
18
%%SITE_PERL%%/namefix/gui/thanks.pm
18
%%SITE_PERL%%/namefix/libs/gui/edit_lists.pm
19
%%SITE_PERL%%/namefix/gui/todo.pm
19
%%SITE_PERL%%/namefix/libs/gui/help.pm
20
%%SITE_PERL%%/namefix/gui/undo.pm
20
%%SITE_PERL%%/namefix/libs/gui/links.pm
21
%%SITE_PERL%%/namefix/misc.pm
21
%%SITE_PERL%%/namefix/libs/gui/manual.pm
22
%%SITE_PERL%%/namefix/mp3.pm
22
%%SITE_PERL%%/namefix/libs/gui/menu.pm
23
%%SITE_PERL%%/namefix/nf_print.pm
23
%%SITE_PERL%%/namefix/libs/gui/thanks.pm
24
%%SITE_PERL%%/namefix/run_namefix.pm
24
%%SITE_PERL%%/namefix/libs/gui/todo.pm
25
@dirrm %%SITE_PERL%%/namefix/gui
25
%%SITE_PERL%%/namefix/libs/gui/undo.pm
26
%%SITE_PERL%%/namefix/libs/html.pm
27
%%SITE_PERL%%/namefix/libs/misc.pm
28
%%SITE_PERL%%/namefix/libs/mp3.pm
29
%%SITE_PERL%%/namefix/libs/nf_print.pm
30
%%SITE_PERL%%/namefix/libs/run_namefix.pm
31
%%SITE_PERL%%/namefix/libs/undo.pm
32
%%SITE_PERL%%/namefix/mem.jpg
33
%%SITE_PERL%%/namefix/namefix.pl
34
%%SITE_PERL%%/namefix/namefix-cli.pl
35
%%SITE_PERL%%/namefix/txt/about.txt
36
%%SITE_PERL%%/namefix/txt/changelog.txt
37
%%SITE_PERL%%/namefix/txt/cmd.help.txt
38
%%SITE_PERL%%/namefix/txt/links.txt
39
%%SITE_PERL%%/namefix/txt/thanks.txt
40
%%SITE_PERL%%/namefix/txt/todo.txt
41
@dirrm %%SITE_PERL%%/namefix/txt
42
@dirrm %%SITE_PERL%%/namefix/libs/gui
43
@dirrm %%SITE_PERL%%/namefix/libs/cli
44
@dirrm %%SITE_PERL%%/namefix/libs
26
@dirrm %%SITE_PERL%%/namefix
45
@dirrm %%SITE_PERL%%/namefix

Return to bug 161643