Bug 18371 - New port: perforce
Summary: New port: perforce
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-05-03 18:00 UTC by root
Modified: 2000-06-10 07:24 UTC (History)
0 users

See Also:


Attachments
file.shar (2.57 KB, text/plain)
2000-05-03 18:00 UTC, root
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description root 2000-05-03 18:00:02 UTC

    
Comment 1 root 2000-05-03 19:46:52 UTC
Me stupid, I didn't check that the port was OK with portlint. This one
is 100% clean.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	perforce
#	perforce/Makefile
#	perforce/files
#	perforce/files/md5
#	perforce/pkg
#	perforce/pkg/PLIST
#	perforce/pkg/DESCR
#	perforce/pkg/COMMENT
#
echo c - perforce
mkdir -p perforce > /dev/null 2>&1
echo x - perforce/Makefile
sed 's/^X//' >perforce/Makefile << 'END-of-perforce/Makefile'
X# New ports collection makefile for:    perforce
X# Date created:         3 Mai 2000
X# Whom:                 sam@inf.enst.fr
X#
X# $FreeBSD$
X#
X
XPORTNAME= 	perforce
XPORTVERSION= 	99.2
XCATEGORIES=	devel
XMASTER_SITES=	ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.freebsd/ http://www.dsmit.com/p4/ http://www.perforce.com/perforce/doc.992/man/
XEXTRACT_SUFX=
XDISTFILES=	p4 p4d p4.el p4.1 p4d.1
XDIST_SUBDIR=	perforce
X
XMAINTAINER=	sam@inf.enst.fr
X
XBUILD_DEPENDS=	emacs:${PORTSDIR}/editors/emacs
X
XNO_PACKAGE=	Restricted distribution
XNO_CDROM=	Restricted distribution
X
XMAN1=		p4.1 p4d.1
X
Xdo-extract:
X	${MKDIR} ${WRKSRC}
X	${CP} ${DISTDIR}/${DIST_SUBDIR}/p4 ${WRKSRC}
X	${CP} ${DISTDIR}/${DIST_SUBDIR}/p4d ${WRKSRC}
X	${CP} ${DISTDIR}/${DIST_SUBDIR}/p4.el ${WRKSRC}
X	${CP} ${DISTDIR}/${DIST_SUBDIR}/p4.1 ${WRKSRC}
X	${CP} ${DISTDIR}/${DIST_SUBDIR}/p4d.1 ${WRKSRC}
X
Xdo-build:
X	cd ${WRKSRC} && emacs -batch -f batch-byte-compile p4.el
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/p4 ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/p4d ${PREFIX}/sbin
X	${INSTALL_DATA} ${WRKSRC}/p4.el ${PREFIX}/share/emacs/site-lisp
X	${INSTALL_DATA} ${WRKSRC}/p4.elc ${PREFIX}/share/emacs/site-lisp
X	${INSTALL_MAN} ${WRKSRC}/p4.1 ${PREFIX}/man/man1
X	${INSTALL_MAN} ${WRKSRC}/p4d.1 ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-perforce/Makefile
echo c - perforce/files
mkdir -p perforce/files > /dev/null 2>&1
echo x - perforce/files/md5
sed 's/^X//' >perforce/files/md5 << 'END-of-perforce/files/md5'
XMD5 (perforce/p4) = 6394c00f803fec549b3d22539bbdbe4a
XMD5 (perforce/p4d) = 0e14a67349b32ac413876b010ad41024
XMD5 (perforce/p4.el) = e9a548ac97fbabaf4f51c098f506f179
XMD5 (perforce/p4.1) = 316b0cf0e0c6e0ff63ecdb612e45f58a
XMD5 (perforce/p4d.1) = e2f1b2c60690ac4d4d3881faee5aa5e0
END-of-perforce/files/md5
echo c - perforce/pkg
mkdir -p perforce/pkg > /dev/null 2>&1
echo x - perforce/pkg/PLIST
sed 's/^X//' >perforce/pkg/PLIST << 'END-of-perforce/pkg/PLIST'
Xbin/p4
Xsbin/p4d
Xshare/emacs/site-lisp/p4.el
Xshare/emacs/site-lisp/p4.elc
END-of-perforce/pkg/PLIST
echo x - perforce/pkg/DESCR
sed 's/^X//' >perforce/pkg/DESCR << 'END-of-perforce/pkg/DESCR'
XPerforce is a commercial revision control system that can be used gratis
Xfor developping free software (see WWW page for details).
X
XWWW: http://www.perforce.com/
X
X  -- Samuel Tardieu
X     sam@inf.enst.fr
END-of-perforce/pkg/DESCR
echo x - perforce/pkg/COMMENT
sed 's/^X//' >perforce/pkg/COMMENT << 'END-of-perforce/pkg/COMMENT'
XPerforce client and server
END-of-perforce/pkg/COMMENT
exit
Comment 2 Will Andrews freebsd_committer freebsd_triage 2000-06-10 07:23:09 UTC
State Changed
From-To: open->closed

Committed, thanks!  I left out the elisp script because I 
didn't feel there was any justification for requiring the 
installation of Emacs just to "build" this port.  If you 
truly want this elisp script included somewhere, just make 
a new port for it and send-pr.