I'm trying to port my script zxfer. If it's ok, I'd like to get some more expert opinion if I'm right to submit it. I've been through the porting handbook. If you want me to post the pkg-descr, I will.
So far I seem to be getting good output for ports-mgmt/portlint and ports-mgmt/porttools .i.e.
The only real question I have is the do-build line, as if I remove it I get an error, though as I said portlint etc. say that it "looks fine". Other than that, am I right to submit it?
Note I used the ports-mgmt/portmaster Makefile as an example.
So far I seem to be getting good output for ports-mgmt/portlint and ports-mgmt/porttools .i.e.
# port test
The only real question I have is the do-build line, as if I remove it I get an error, though as I said portlint etc. say that it "looks fine". Other than that, am I right to submit it?
Note I used the ports-mgmt/portmaster Makefile as an example.
Code:
# New ports collection makefile for: zxfer
# Date created: 31 March 2011
# Whom: Ivan Dreckman
# <ivannashdreckman@fastmail.fm>
#
# $FreeBSD$
#
PORTNAME= zxfer
PORTVERSION= 0.9.5
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= ivannashdreckman@fastmail.fm
COMMENT= Easily and reliably transfer ZFS filesystems
USE_BZIP2= yes
LICENSE= BSD
PLIST_FILES= sbin/zxfer
MAN8= zxfer.8
MANCOMPRESSED= yes
.include <bsd.port.pre.mk>
do-build:
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/zxfer-${PORTVERSION}/zxfer \
${PREFIX}/sbin/zxfer
${INSTALL_MAN} ${WRKDIR}/zxfer-${PORTVERSION}/zxfer.8.gz \
${MAN8PREFIX}/man/man8
.include <bsd.port.post.mk>