summaryrefslogtreecommitdiff
path: root/multimedia/subtools/Makefile
diff options
context:
space:
mode:
authorAndrey Slusar <anray@FreeBSD.org>2006-01-11 02:31:12 +0000
committerAndrey Slusar <anray@FreeBSD.org>2006-01-11 02:31:12 +0000
commit2d0ef2abc1e08dcde0f99cb887cbf4eab89501a6 (patch)
tree8ab8ffc9466ccc8ef9f52b319a2ae36f2b062f3f /multimedia/subtools/Makefile
parent- projcet rename to lifetype (diff)
Add subtools 20051215, command-line tools for movie subtitles in
SubRipper format. PR: ports/91583 Submitted by: Andrew Pantyukhin <infofarmer@gmail.com>
Diffstat (limited to 'multimedia/subtools/Makefile')
-rw-r--r--multimedia/subtools/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/multimedia/subtools/Makefile b/multimedia/subtools/Makefile
new file mode 100644
index 000000000000..604e72b908f8
--- /dev/null
+++ b/multimedia/subtools/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: subtools
+# Date created: 10 January 2005
+# Whom: Andrew Pantyukhin <infofarmer@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= subtools
+PORTVERSION= 20051215
+CATEGORIES= multimedia
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION}alpha
+
+MAINTAINER= infofarmer@gmail.com
+COMMENT= Command-line tools for movie subtitles in SubRipper format
+
+PLIST_FILES= bin/laudio
+PORTDOCS= readme.txt
+
+WRKSRC= ${WRKDIR}/${PORTNAME}/src
+EXECS= srtshift srtrate
+
+PORTDOCS= CHANGELOG.TXT LICENSE.TXT README.TXT TODO.TXT
+PLIST_FILES= ${EXECS:S/^/bin\//}
+
+do-build:
+.for EXEC in ${EXECS}
+ cd ${WRKSRC} && ${CC} ${CFLAGS} -D${EXEC:U} -o ${EXEC} ${PORTNAME}.c
+.endfor
+
+do-install:
+ ${INSTALL_PROGRAM} ${EXECS:S/^/${WRKSRC}\//} ${PREFIX}/bin/
+.ifndef(NOPORTDOCS)
+ ${INSTALL} -d ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S/^/${WRKSRC}\//} ${DOCSDIR}/
+.endif
+
+.include <bsd.port.mk>