diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-12-19 23:30:02 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-12-19 23:30:02 +0000 |
commit | 7ac9416eded4b98c13d18ad58642cf9979834f70 (patch) | |
tree | 8beddc83f051936a93c0f6e323f3be8e30de54e3 /audio/pacpl | |
parent | 4ba3b229ebbd88b5af1893c0f9bb496589b0836c (diff) | |
download | ports-7ac9416eded4b98c13d18ad58642cf9979834f70.tar.gz ports-7ac9416eded4b98c13d18ad58642cf9979834f70.zip |
Notes
Diffstat (limited to 'audio/pacpl')
-rw-r--r-- | audio/pacpl/Makefile | 27 | ||||
-rw-r--r-- | audio/pacpl/pkg-plist | 8 |
2 files changed, 34 insertions, 1 deletions
diff --git a/audio/pacpl/Makefile b/audio/pacpl/Makefile index 54a4d74e74c3..7aa98c9caf5f 100644 --- a/audio/pacpl/Makefile +++ b/audio/pacpl/Makefile @@ -7,6 +7,7 @@ PORTNAME= pacpl PORTVERSION= 3.2.5 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SFE @@ -44,14 +45,26 @@ ONLY_FOR_ARCHS= i386 amd64 NO_BUILD= yes PACPL_LNG_FILES= help long_help rip_help tag_help video_help PACPL_LNGS= FR PT +AMAROK_SCR= README transcoding_pacx.pl +AMAROK_SCR_DIR= share/apps/amarok/scripts/transcoding_pacx +KONQ_MIME= ape bonk kxs la lpac ofr ofs shn tta wavpack +KONQ_SVCM= ${PORTNAME} +KONQ_MIME_DIR= share/mimelnk/audio +KONQ_SVCM_DIR= share/apps/konqueror/servicemenus PLIST_FILES= bin/pacpl etc/pacpl/pacpl.conf \ ${PACPL_LNG_FILES:S,^,etc/pacpl/lang/FR/,:S,$,.FR,} \ - ${PACPL_LNG_FILES:S,^,etc/pacpl/lang/PT/,:S,$,.PT,} + ${PACPL_LNG_FILES:S,^,etc/pacpl/lang/PT/,:S,$,.PT,} \ + ${AMAROK_SCR:S|^|${AMAROK_SCR_DIR}/|} \ + ${AMAROK_SCR_DIR}/transcoding_pacx.spec \ + ${KONQ_MIME:S|^|${KONQ_MIME_DIR}/x-|:S|$|.desktop|} \ + ${KONQ_SVCM:S|^|${KONQ_SVCM_DIR}/|:S|$|.desktop|} PLIST_DIRS= etc/pacpl/lang/FR etc/pacpl/lang/PT etc/pacpl/lang etc/pacpl MAN1= pacpl.1 post-extract: @${GUNZIP_CMD} ${WRKSRC}/man/pacpl.1.gz + @cd ${WRKSRC}/kde/amarok && ${TAR} xf pacx.amarokscript.tar.gz + @cd ${WRKSRC}/kde/amarok/pacx.amarokscript && ${MV} pacx.pl transcoding_pacx.pl post-patch: @${REINPLACE_CMD} -e 's#/etc#${PREFIX}/etc#' ${WRKSRC}/pacpl @@ -64,5 +77,17 @@ do-install: @${INSTALL_DATA} ${PACPL_LNG_FILES:S,^,${WRKSRC}/lang/PT/,:S,$,.PT,} ${PREFIX}/etc/pacpl/lang/PT/ @${INSTALL_DATA} ${WRKSRC}/pacpl.conf ${PREFIX}/etc/pacpl/ @${INSTALL_MAN} ${WRKSRC}/man/pacpl.1 ${MAN1PREFIX}/man/man1/ + @${INSTALL} -d ${PREFIX}/${AMAROK_SCR_DIR}/ + @${INSTALL} -d ${PREFIX}/${KONQ_MIME_DIR}/ + @${INSTALL} -d ${PREFIX}/${KONQ_SVCM_DIR}/ + @${INSTALL_DATA} ${AMAROK_SCR:S|^|${WRKSRC}/kde/amarok/pacx.amarokscript/|} \ + ${PREFIX}/${AMAROK_SCR_DIR}/ + @${INSTALL_DATA} ${KONQ_MIME:S|^|${WRKSRC}/kde/konqueror/mimes/x-|:S|$|.desktop|} \ + ${PREFIX}/${KONQ_MIME_DIR}/ + @${INSTALL_DATA} ${KONQ_SVCM:S|^|${WRKSRC}/kde/konqueror/|:S|$|.desktop|} \ + ${PREFIX}/${KONQ_SVCM_DIR}/ + @${CHMOD} a+x ${PREFIX}/${AMAROK_SCR_DIR}/*pl + @${ECHO_CMD} "name = Pacx" > ${PREFIX}/${AMAROK_SCR_DIR}/transcoding_pacx.spec + @${ECHO_CMD} "type = transcoding" >> ${PREFIX}/${AMAROK_SCR_DIR}/transcoding_pacx.spec .include <bsd.port.mk> diff --git a/audio/pacpl/pkg-plist b/audio/pacpl/pkg-plist new file mode 100644 index 000000000000..b8ccc12336fe --- /dev/null +++ b/audio/pacpl/pkg-plist @@ -0,0 +1,8 @@ +@dirrm share/apps/amarok/scripts/transcoding_pacx +@dirrmtry share/apps/amarok/scripts +@dirrmtry share/apps/amarok +@dirrmtry share/apps/konqueror/servicemenus +@dirrmtry share/apps/konqueror +@dirrmtry share/apps +@dirrmtry share/mimelnk/audio +@dirrmtry share/mimelnk |