diff options
author | danfe <danfe@FreeBSD.org> | 2015-09-09 18:58:55 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2015-09-09 18:58:55 +0800 |
commit | 49a2dc84ffe94129fb031dd84b366e6eae2595e1 (patch) | |
tree | a16b5f9edfdd0e902c7e416f9e4366094cfa5bc8 /sysutils | |
parent | 6fc8ae8b610b7fdee74a172082edb0ec717d0233 (diff) | |
download | freebsd-ports-gnome-49a2dc84ffe94129fb031dd84b366e6eae2595e1.tar.gz freebsd-ports-gnome-49a2dc84ffe94129fb031dd84b366e6eae2595e1.tar.zst freebsd-ports-gnome-49a2dc84ffe94129fb031dd84b366e6eae2595e1.zip |
Do not declare that the port is broken on Tier-2 architectures: it builds
and installs just fine on at least PowerPC, and I do not see a reason why
would simple Perl program fail to install as long as all dependencies are
satisfied. While here, amend CATEGORIES/COMMENT and wrap very long lines.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/namefix/Makefile | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sysutils/namefix/Makefile b/sysutils/namefix/Makefile index 99fbc308928d..e8d8b75c7c5d 100644 --- a/sysutils/namefix/Makefile +++ b/sysutils/namefix/Makefile @@ -4,13 +4,13 @@ PORTNAME= namefix PORTVERSION= 4.0.2 PORTREVISION= 2 -CATEGORIES= sysutils +CATEGORIES= sysutils perl5 MASTER_SITES= SF/${PORTNAME}/${PORTNAME}.pl/${PORTVERSION} DISTNAME= ${PORTNAME}.pl_${PORTVERSION} EXTRACT_SUFX= .7z MAINTAINER= ports@FreeBSD.org -COMMENT= Batch renamer +COMMENT= Batch file renamer LICENSE= GPLv2 @@ -35,8 +35,10 @@ SHEBANG_FILES= namefix-cli.pl namefix.pl do-configure: .for bin in ${PORTNAME} ${PORTNAME}-cli @${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/${bin}.in - @${ECHO_CMD} 'namefix_dir=${PREFIX}/${SITE_PERL_REL}/${PORTNAME}' >> ${WRKDIR}/${bin}.in - @${ECHO_CMD} 'cd $${namefix_dir}; exec ./${bin}.pl $$@' >> ${WRKDIR}/${bin}.in + @${ECHO_CMD} 'namefix_dir=${PREFIX}/${SITE_PERL_REL}/${PORTNAME}' \ + >> ${WRKDIR}/${bin}.in + @${ECHO_CMD} 'cd $${namefix_dir}; exec ./${bin}.pl $$@' \ + >> ${WRKDIR}/${bin}.in .endfor do-install: @@ -45,20 +47,18 @@ do-install: .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME} .for data in ${PORTNAME} ${PORTNAME}-cli - ${INSTALL_SCRIPT} ${WRKSRC}/${data}.pl ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKSRC}/${data}.pl \ + ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME} .endfor - ${INSTALL_DATA} ${WRKSRC}/mem.jpg ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/mem.jpg \ + ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME} .for dir in libs libs/cli libs/gui @${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/${dir} - ${INSTALL_DATA} ${WRKSRC}/${dir}/*.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/${dir} + ${INSTALL_DATA} ${WRKSRC}/${dir}/*.pm \ + ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/${dir} .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/txt - ${INSTALL_DATA} ${WRKSRC}/txt/*.txt ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/txt + ${INSTALL_DATA} ${WRKSRC}/txt/*.txt \ + ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/txt -.include <bsd.port.pre.mk> - -.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" -BROKEN= Does not install on ia64, powerpc, or sparc64 -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |