I've been going through the Porter's Handbook trying to figure out how to create a port that requires devel/apache-ant. I've created the Makefile, pkg-descr, pkg-plist, and distinfo files.
Makefile:
pkg-descr:
pkg-plist:
distinfo:
I have no idea how to set up the build instructions for using ant. From the WRKSRC directory I want it to execute
I'm also not sure how to set up the install instructions. This seems to not be addressed in the Quick Porting section of the handbook, but I'm trying to go through the rest of the handbook in more detail.
Makefile:
Code:
# $FreeBSD$
PORTNAME= stendhal
PORTVERSION= 1.16
CATEGORIES= games
DISTNAME= stendhal-${PORTVERSION}-src
MASTER_SITES= http://downloads.sourceforge.net/project/arianne/stendhal/${PORTVERSION}/
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAINTAINER= antumdeluge@gmail.com
COMMENT= An open source 2D Action/Adventure Online Role Playing Game.
USE_JAVA= yes
BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant
.include <bsd.port.mk>
pkg-descr:
Code:
Stendhal is an open source 2D MMORPG with an excellent community. Players can gain experience through battling, quest for special items, explore an expanding world or even be a part of the development. There are lots of ways to be involved in the project. Stendhal is developed using the Arianne game development system.
Stendhal is written in Java and requires the Java runtime environment.
WWW: http://stendhalgame.org/
pkg-plist:
Code:
bin/stendhal
share/applications/stendhal.desktop
share/stendhal/doc/Licenses
share/stendhal/doc/Licenses/BSD.txt
share/stendhal/doc/Licenses/CC-BY-3.0.txt
share/stendhal/doc/Licenses/CC0-1.0.txt
share/stendhal/doc/Licenses/MIT.txt
share/stendhal/doc/AUTHORS.txt
share/stendhal/doc/BUGS.txt
share/stendhal/doc/CHANGES.txt
share/stendhal/doc/LICENSE-audio.txt
share/stendhal/doc/LICENSE-images.txt
share/stendhal/doc/LICENSE.txt
share/stendhal/lib/EasyMockLicense.html
share/stendhal/lib/LICENSES.txt
share/stendhal/lib/NOTICE.txt
share/stendhal/lib/jorbis.jar
share/stendhal/lib/license-apache-2.0.txt
share/stendhal/lib/license-bsd.txt
share/stendhal/lib/license-cpl.html
share/stendhal/lib/license-gpl.txt
share/stendhal/lib/license-h2.html
share/stendhal/lib/license-lgpl.txt
share/stendhal/lib/log4j.jar
share/stendhal/lib/marauroa.jar
share/stendhal/lib/stendhal-data.jar
share/stendhal/lib/stendhal-music-data.jar
share/stendhal/lib/stendhal-sound-data.jar
share/stendhal/lib/stendhal.jar
share/stendhal/log/stendhal.txt
share/stendhal/.hotspotrc
share/stendhal/README.txt
share/stendhal/icon.ico
share/stendhal/stendhal-starter.jar
distinfo:
Code:
SHA256 (stendhal-1.16-src.tar.gz) = 1d2702f4074a356926e2c4fe07f4d620192663e469f5c42e366815e4efac1f8a
SIZE (stendhal-1.16-src.tar.gz) = 67320865
I have no idea how to set up the build instructions for using ant. From the WRKSRC directory I want it to execute
ant client_build
, which is defined in the file build.xml.I'm also not sure how to set up the install instructions. This seems to not be addressed in the Quick Porting section of the handbook, but I'm trying to go through the rest of the handbook in more detail.