diff options
author | Ernst de Haan <znerd@FreeBSD.org> | 2002-10-18 20:44:50 +0000 |
---|---|---|
committer | Ernst de Haan <znerd@FreeBSD.org> | 2002-10-18 20:44:50 +0000 |
commit | 508cdd8d6d00f505ed80d76f6e4f334863e86803 (patch) | |
tree | f33a6d8b6879dd7ac3e1510c7563f7f70bcbb40c /textproc/xmlenc | |
parent | 11a89ad5c6d0d577a170376ad922350e7adb22b3 (diff) | |
download | ports-508cdd8d6d00f505ed80d76f6e4f334863e86803.tar.gz ports-508cdd8d6d00f505ed80d76f6e4f334863e86803.zip |
Notes
Diffstat (limited to 'textproc/xmlenc')
-rw-r--r-- | textproc/xmlenc/Makefile | 19 | ||||
-rw-r--r-- | textproc/xmlenc/pkg-plist | 93 |
2 files changed, 41 insertions, 71 deletions
diff --git a/textproc/xmlenc/Makefile b/textproc/xmlenc/Makefile index c8ce55d3600c..94f0b52409fe 100644 --- a/textproc/xmlenc/Makefile +++ b/textproc/xmlenc/Makefile @@ -7,6 +7,7 @@ PORTNAME= xmlenc PORTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= textproc java MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= xmlenc @@ -20,18 +21,28 @@ USE_JAVA= 1.1+ PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///} TARGET_DIR?= ${PREFIX}/share/java/${PORTNAME}-${PORTVERSION} ANT?= ${LOCALBASE}/bin/ant +.if defined(NOPORTDOCS) +ANT_TARGET= jar +.else ANT_TARGET= jar apidocs +.endif +JAVASHAREDIR= ${PREFIX}/share/java +JARDIR= ${JAVASHAREDIR}/classes +JARFILE= ${PORTNAME}.jar do-build: @cd ${WRKSRC} && ${ANT} ${ANT_TARGET} do-install: - @${ECHO} -n ">> Creating directory ${TARGET_DIR}..." - @${MKDIR} ${TARGET_DIR} + @${ECHO} -n ">> Installing JAR as ${JARDIR}/${JARFILE}..." + @${CP} ${WRKSRC}/build/${JARFILE} ${JARDIR}/ @${ECHO} " [ DONE ]" - @${ECHO} -n ">> Copying files..." - @${CP} -r ${WRKSRC}/* ${TARGET_DIR} +.if !defined(NOPORTDOCS) + @${ECHO} -n ">> Installing documentation in ${DOCSDIR}..." + @${MKDIR} ${DOCSDIR} + @${CP} -r ${WRKSRC}/build/apidocs/* ${DOCSDIR} @${ECHO} " [ DONE ]" +.endif .include <bsd.port.mk> diff --git a/textproc/xmlenc/pkg-plist b/textproc/xmlenc/pkg-plist index 8adb1fb8178a..69bbce1a863a 100644 --- a/textproc/xmlenc/pkg-plist +++ b/textproc/xmlenc/pkg-plist @@ -1,67 +1,26 @@ -%%T%%/src/examples/org/znerd/xmlenc/examples/simple/Main.java -%%T%%/src/main/org/znerd/xmlenc/SevenBitXMLEncoder.java -%%T%%/src/main/org/znerd/xmlenc/UnicodeXMLEncoder.java -%%T%%/src/main/org/znerd/xmlenc/XMLEncoder.java -%%T%%/src/tests/org/znerd/xmlenc/tests/AllTests.java -%%T%%/src/tests/org/znerd/xmlenc/tests/XMLEncoderTests.java -%%T%%/build/src/main/org/znerd/xmlenc/SevenBitXMLEncoder.java -%%T%%/build/src/main/org/znerd/xmlenc/UnicodeXMLEncoder.java -%%T%%/build/src/main/org/znerd/xmlenc/XMLEncoder.java -%%T%%/build/classes/main/org/znerd/xmlenc/SevenBitXMLEncoder.class -%%T%%/build/classes/main/org/znerd/xmlenc/UnicodeXMLEncoder.class -%%T%%/build/classes/main/org/znerd/xmlenc/XMLEncoder.class -%%T%%/build/apidocs/org/znerd/xmlenc/class-use/SevenBitXMLEncoder.html -%%T%%/build/apidocs/org/znerd/xmlenc/class-use/UnicodeXMLEncoder.html -%%T%%/build/apidocs/org/znerd/xmlenc/class-use/XMLEncoder.html -%%T%%/build/apidocs/org/znerd/xmlenc/package-use.html -%%T%%/build/apidocs/org/znerd/xmlenc/package-summary.html -%%T%%/build/apidocs/org/znerd/xmlenc/package-tree.html -%%T%%/build/apidocs/org/znerd/xmlenc/package-frame.html -%%T%%/build/apidocs/org/znerd/xmlenc/SevenBitXMLEncoder.html -%%T%%/build/apidocs/org/znerd/xmlenc/UnicodeXMLEncoder.html -%%T%%/build/apidocs/org/znerd/xmlenc/XMLEncoder.html -%%T%%/build/apidocs/overview-tree.html -%%T%%/build/apidocs/index-all.html -%%T%%/build/apidocs/deprecated-list.html -%%T%%/build/apidocs/allclasses-frame.html -%%T%%/build/apidocs/index.html -%%T%%/build/apidocs/packages.html -%%T%%/build/apidocs/serialized-form.html -%%T%%/build/apidocs/package-list -%%T%%/build/apidocs/help-doc.html -%%T%%/build/apidocs/stylesheet.css -%%T%%/build/xmlenc.jar -%%T%%/build.xml -@dirrm %%T%%/src/examples/org/znerd/xmlenc/examples/simple -@dirrm %%T%%/src/examples/org/znerd/xmlenc/examples -@dirrm %%T%%/src/examples/org/znerd/xmlenc -@dirrm %%T%%/src/examples/org/znerd -@dirrm %%T%%/src/examples/org -@dirrm %%T%%/src/examples -@dirrm %%T%%/src/main/org/znerd/xmlenc -@dirrm %%T%%/src/main/org/znerd -@dirrm %%T%%/src/main/org -@dirrm %%T%%/src/main -@dirrm %%T%%/src/tests/org/znerd/xmlenc/tests -@dirrm %%T%%/src/tests/org/znerd/xmlenc -@dirrm %%T%%/src/tests/org/znerd -@dirrm %%T%%/src/tests/org -@dirrm %%T%%/src/tests -@dirrm %%T%%/src -@dirrm %%T%%/build/src/main/org/znerd/xmlenc -@dirrm %%T%%/build/src/main/org/znerd -@dirrm %%T%%/build/src/main/org -@dirrm %%T%%/build/src/main -@dirrm %%T%%/build/src -@dirrm %%T%%/build/classes/main/org/znerd/xmlenc -@dirrm %%T%%/build/classes/main/org/znerd -@dirrm %%T%%/build/classes/main/org -@dirrm %%T%%/build/classes/main -@dirrm %%T%%/build/classes -@dirrm %%T%%/build/apidocs/org/znerd/xmlenc/class-use -@dirrm %%T%%/build/apidocs/org/znerd/xmlenc -@dirrm %%T%%/build/apidocs/org/znerd -@dirrm %%T%%/build/apidocs/org -@dirrm %%T%%/build/apidocs -@dirrm %%T%%/build -@dirrm %%T%% +share/doc/xmlenc/org/znerd/xmlenc/class-use/XMLEncoder.html +share/doc/xmlenc/org/znerd/xmlenc/class-use/UnicodeXMLEncoder.html +share/doc/xmlenc/org/znerd/xmlenc/class-use/SevenBitXMLEncoder.html +share/doc/xmlenc/org/znerd/xmlenc/package-use.html +share/doc/xmlenc/org/znerd/xmlenc/package-summary.html +share/doc/xmlenc/org/znerd/xmlenc/package-tree.html +share/doc/xmlenc/org/znerd/xmlenc/package-frame.html +share/doc/xmlenc/org/znerd/xmlenc/SevenBitXMLEncoder.html +share/doc/xmlenc/org/znerd/xmlenc/UnicodeXMLEncoder.html +share/doc/xmlenc/org/znerd/xmlenc/XMLEncoder.html +share/doc/xmlenc/serialized-form.html +share/doc/xmlenc/packages.html +share/doc/xmlenc/package-list +share/doc/xmlenc/overview-tree.html +share/doc/xmlenc/index.html +share/doc/xmlenc/index-all.html +share/doc/xmlenc/help-doc.html +share/doc/xmlenc/deprecated-list.html +share/doc/xmlenc/stylesheet.css +share/doc/xmlenc/allclasses-frame.html +share/java/classes/xmlenc.jar +@dirrm share/doc/xmlenc/org/znerd/xmlenc/class-use +@dirrm share/doc/xmlenc/org/znerd/xmlenc +@dirrm share/doc/xmlenc/org/znerd +@dirrm share/doc/xmlenc/org +@dirrm share/doc/xmlenc |