summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/salias/Makefile17
-rw-r--r--misc/salias/distinfo2
-rw-r--r--misc/salias/pkg-plist4
3 files changed, 13 insertions, 10 deletions
diff --git a/misc/salias/Makefile b/misc/salias/Makefile
index baa51c1..dadbc81 100644
--- a/misc/salias/Makefile
+++ b/misc/salias/Makefile
@@ -7,18 +7,21 @@
#
PORTNAME= salias
-PORTVERSION= 0.1.5
-CATEGORIES= misc
+PORTVERSION= 0.2.0
+CATEGORIES= misc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= py-${PORTNAME}-${PORTVERSION}
-MAINTAINER= ijliao@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple
-RUN_DEPENDS= ${BUILD_DEPENDS}
+USE_PYTHON= yes
+SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
-PERL_CONFIGURE= yes
+do-build:
+ @${SETUP_CMD} build
-MAN1= salias.1
+do-install:
+ @${SETUP_CMD} install
.include <bsd.port.mk>
diff --git a/misc/salias/distinfo b/misc/salias/distinfo
index 808fbfb..7256b4d 100644
--- a/misc/salias/distinfo
+++ b/misc/salias/distinfo
@@ -1 +1 @@
-MD5 (salias-0.1.5.tar.gz) = 6f5d77de676aff6420aeab66426ed180
+MD5 (py-salias-0.2.0.tar.gz) = 6af149086d5b194b0471801ffcdaf667
diff --git a/misc/salias/pkg-plist b/misc/salias/pkg-plist
index b5fb5a5..b1b5e7e 100644
--- a/misc/salias/pkg-plist
+++ b/misc/salias/pkg-plist
@@ -1,3 +1,3 @@
bin/salias
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/salias/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/salias
+lib/%%PYTHON_VERSION%%/site-packages/salias.py
+lib/%%PYTHON_VERSION%%/site-packages/salias.pyc
OpenPOWER on IntegriCloud