aboutsummaryrefslogtreecommitdiff
path: root/finance/sabernetdcs-client
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-08-25 07:00:03 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-08-25 07:00:03 +0000
commit762ec3ff5fc4289d47303c006bf5509c24326125 (patch)
tree49a66652073ec8589082ccfc3027125e58d6057b /finance/sabernetdcs-client
parent017816e1d9c60945a15c64c49bd78724544784d5 (diff)
downloadports-762ec3ff5fc4289d47303c006bf5509c24326125.tar.gz
ports-762ec3ff5fc4289d47303c006bf5509c24326125.zip
Notes
Diffstat (limited to 'finance/sabernetdcs-client')
-rw-r--r--finance/sabernetdcs-client/Makefile12
-rw-r--r--finance/sabernetdcs-client/files/pkg-message.in5
2 files changed, 8 insertions, 9 deletions
diff --git a/finance/sabernetdcs-client/Makefile b/finance/sabernetdcs-client/Makefile
index 3ea1fd979851..215ed75b2ef1 100644
--- a/finance/sabernetdcs-client/Makefile
+++ b/finance/sabernetdcs-client/Makefile
@@ -18,11 +18,11 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyro>=0:${PORTSDIR}/devel/py-pyro
USE_GNOME= pygtk2
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-USES= tar:bzip2
+USE_PYTHON= distutils
+USES= python tar:bzip2
DOCSDIR= ${PREFIX}/share/doc/sndcs
DATADIR= ${PREFIX}/share/sndcs
+SUB_FILES= pkg-message
PYDISTUTILS_PKGNAME= sndcs
@@ -34,7 +34,6 @@ OPTIONS_DEFINE= DOCS
EXTRA_PATCHES= ${FILESDIR}/extra-patch-setup.py
.endif
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/setup.py
@@ -42,10 +41,5 @@ do-configure:
cd ${WRKSRC} && ${CP} "${FILESDIR}/sndcs2.conf" "sndcs/config/sndcs2.conf"
post-install:
- @${ECHO} " - - - - - - - - - - - - - - - - - - - - - - - - -"
- @${ECHO} " SaberNet DCS Client is now installed. "
- @${ECHO} " Change the settings in ${PREFIX}/etc/sndcs/sndcs2.conf "
- @${ECHO} " to suit your needs. "
- @${ECHO} " - - - - - - - - - - - - - - - - - - - - - - - - -"
.include <bsd.port.mk>
diff --git a/finance/sabernetdcs-client/files/pkg-message.in b/finance/sabernetdcs-client/files/pkg-message.in
new file mode 100644
index 000000000000..e2941dc8bf9e
--- /dev/null
+++ b/finance/sabernetdcs-client/files/pkg-message.in
@@ -0,0 +1,5 @@
+- - - - - - - - - - - - - - - - - - - - - - - - - - - -
+SaberNet DCS Client is now installed.
+Change the settings in %%PREFIX%%/etc/sndcs/sndcs2.conf
+to suit your needs.
+- - - - - - - - - - - - - - - - - - - - - - - - - - - -