summary refs log tree commit diff
path: root/app-misc
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2021-02-18 13:08:20 +0300
committerAzat Bahawi <azahi@teknik.io>2021-02-18 13:08:20 +0300
commitf1b3d984e26b95ce5404ff7db29d132b0ede05ae (patch)
tree1899f49b1aed01ba78b339979ff7b78818a02e08 /app-misc
parentapp-misc/bdfresize: Use patch instead of sed (diff)
app-misc/fbcat: Refactor
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/fbcat/fbcat-9999.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/app-misc/fbcat/fbcat-9999.ebuild b/app-misc/fbcat/fbcat-9999.ebuild
index 95e4eea..aa3f284 100644
--- a/app-misc/fbcat/fbcat-9999.ebuild
+++ b/app-misc/fbcat/fbcat-9999.ebuild
@@ -30,16 +30,21 @@ RDEPEND="${DEPEND}
 "
 BDEPEND="
 	doc? (
-		dev-libs/libxslt
 		app-text/docbook-xsl-stylesheets
+		dev-libs/libxslt
 	)
 "
 
 src_compile() {
 	default
-	use doc && emake -C doc
+
+	if use doc; then
+		emake -C doc
+	fi
 }
 
 src_install() {
-	emake DESTDIR="${D}" PREFIX="/usr" install
+	emake install \
+		DESTDIR="${D}" \
+		PREFIX="${EPREFIX}/usr"
 }

Consider giving Nix/NixOS a try! <3