diff options
author | danfe <danfe@FreeBSD.org> | 2016-04-15 00:40:24 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2016-04-15 00:40:24 +0800 |
commit | 415f7463c533a03d81e2bc8f6453652b12ef9ab9 (patch) | |
tree | ce22c110750a0076192ce95e2f0b8c92cab46f80 /multimedia/2mandvd | |
parent | 423ce961fb2f05d6c9f6207de0d9840728c9ae89 (diff) | |
download | freebsd-ports-gnome-415f7463c533a03d81e2bc8f6453652b12ef9ab9.tar.gz freebsd-ports-gnome-415f7463c533a03d81e2bc8f6453652b12ef9ab9.tar.zst freebsd-ports-gnome-415f7463c533a03d81e2bc8f6453652b12ef9ab9.zip |
- Do not attempt to create ${STAGEDIR}${DESKTOPDIR}: `share/applications'
was added to mtree (Templates/BSD.local.dist) in r331266 2.5 years ago
- Avoid cd'ing to a directory to invoke single-argument command and thus
make target recipes more readable and undemanding of a sub-shell
- Drop `kde' from CATEGORIES as port does not depend on any of KDE stuff
Diffstat (limited to 'multimedia/2mandvd')
-rw-r--r-- | multimedia/2mandvd/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/multimedia/2mandvd/Makefile b/multimedia/2mandvd/Makefile index 1c68c495f282..a88685212be5 100644 --- a/multimedia/2mandvd/Makefile +++ b/multimedia/2mandvd/Makefile @@ -4,7 +4,7 @@ PORTNAME= 2ManDVD PORTVERSION= 1.8.5 PORTREVISION= 2 -CATEGORIES= multimedia kde +CATEGORIES= multimedia MASTER_SITES= http://download.tuxfamily.org/2mandvd/ MAINTAINER= ports@FreeBSD.org @@ -61,18 +61,16 @@ post-patch: 's|Ne slideshow|New slideshow|' ${WRKSRC}/2mandvd_en.ts pre-build: - (cd ${WRKSRC} && ${LRELEASE} 2mandvd_en.ts) + ${LRELEASE} ${WRKSRC}/2mandvd_en.ts do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} 2ManDVD ${STAGEDIR}${PREFIX}/bin) + ${INSTALL_PROGRAM} ${WRKSRC}/2ManDVD ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} - (cd ${WRKSRC} && ${INSTALL_SCRIPT} fake.pl ${STAGEDIR}${DATADIR}) - (cd ${WRKSRC} && ${INSTALL_DATA} *.qm ${STAGEDIR}${DATADIR}) + ${INSTALL_SCRIPT} ${WRKSRC}/fake.pl ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.qm ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} Bibliotheque ${STAGEDIR}${DATADIR}) - @${MKDIR} ${STAGEDIR}${DESKTOPDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} 2ManDVD.desktop \ - ${STAGEDIR}${DESKTOPDIR}) - (cd ${WRKSRC}/Interface && ${INSTALL_DATA} mandvdico.png \ - ${STAGEDIR}${PREFIX}/share/pixmaps) + ${INSTALL_DATA} ${WRKSRC}/2ManDVD.desktop ${STAGEDIR}${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/Interface/mandvdico.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps .include <bsd.port.mk> |